Translation of the Magento Information Tab in product form view

Registered by Jordi Esteve (www.zikzakmedia.com)

The Magento Information Tab in product form view is not defined in a XML file, but it is created on the fly by fields_view_get() and redefine_prod_view() methods.

So all the tabs (pages), separators and fields names are not extracted by the OpenERP translation system (the exported CSV or PO file does not contain these strings). Later, you can add manually to the exported po file the x_magerp_* field names to see them translated.

But I have not found any way to translate the strings of pages and separators. Also, all the options in many2one fields (attribute options) are only imported in English.

To do:

1) Active translate=True on these fields: attribute labels, attribute options labels, attribute set names and attribute group names.
2) Use this translation information to create on the fly the Magento tab in the product form view.
3) Synchronize the translation information between OpenERP <-> Magento

Step 3 is optional and could be done later.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Jordi Esteve (www.zikzakmedia.com)
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Partially done in revision 275:

In redefine_prod_view(): Now inner tabs (attribute groups) and separators are translated using context['lang'] and ir.translation

This is better than active the translate flag on these fields: attribute labels, attribute set names and attribute group names. Avoids to translate the same things in each Magento installation. An extra .pot file for doing these translations must be provided (they are not generated by the export translation tool of OpenERP).

The attribute options labels translation is pending.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.