Daily updates from Odoo
Monday, July 6, 2015
1 change · master
Enhancements to existing features
Odoo now translates XML and HTML content in smaller meaningful pieces instead of treating whole fields as one block. This makes translations easier to maintain when screens or content change, and improves consistency across field labels, help text, and view definitions.
Original PR description
Add support for translating fields not as a whole, but as a value containing terms to translate: - for such fields, the table `ir_translation` contains a set of `(term, translation)` for each record; - use this support for the `arch` field of views, and convert translations of type 'view' into those; - add "fuzzy" remapping of translations when English value of such a field is updated. Convert translation types 'field', 'help' into corresponding translated fields of `ir.model.fields`.