Daily updates from Odoo
Monday, December 9, 2019
1 change · master
Resolved issues and error corrections
The contact map view now supports translations for its labels and buttons when users switch languages. This helps non-English users see the map interface consistently in their selected language, with only third-party zoom labels remaining untranslated.
Original PR description
steps to reproduce: -install contacts -go to settings>translations>languages and activate a second language, for example Ukrainian as it has been fully translated in 13.0 -switch to the Ukrainian language, go to contacts and open the map view you can see the fields are not translated they do not appear in the web_map.pot either translation seem to not happen because the templates.xml file was not living in the static/src folder the fields "Name" and "Address" are part of the contacts_enterprise module (so they will appear in contacts_enterprise.pot, not web_map.pot) the pot file of the contacts_enterprise module was not named properly previous behavior: most fields inside the map view and the buttons are not translatable current behavior: all text inside the map view is translatable except for the "zoom in/out" labels (they are part of a third party library) opw-2144401