Search views: Filters management labels and field names in Custom Filters are not translated

Bug #686046 reported by Ferdinand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
Low
OpenERP sa GTK client R&D

Bug Description

filters labels and field names are always in English, endependent of the language setting of the user. (may be a server issue)

Changed in openobject-addons:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Confirmed
affects: openobject-addons → openobject-server
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Ferdinand, I suppose you mean the Filters drop-down menu at the bottom of each search view in the GTK client, is that right? (it really helps if you try to make bug descriptions as precise as possible).

If that's the case, this is caused by 2 GTK client bugs: labels such as 'Filters', 'Save as Shortcut', 'Save as Filter' are indeed not made translatable at the moment.
As for labels of the object fields in the custom filters, these are only partially translated at the moment because the context is missing when GTK loads the fields with fields_view_get().

I am attaching a patch for the second issue, and assigning the rest of the resolution to GTK team.

Do not hesitate to provide more info on what you were exactly reporting as a bug.

affects: openobject-server → openobject-client
Changed in openobject-client:
assignee: OpenERP's Framework R&D (openerp-dev-framework) → OpenERP sa GTK client R&D (openerp-dev-gtk)
summary: - [6.9 r1707] filters section is not translated
+ Search views: Filters management labels and field names in Custom
+ Filters are not translated
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Here is a patch for the partially non-translated field labels in custom filters (properly passing context when calling fields_get).
The patch also fixes another one in diagram views.

The resolution of this bug still requires more work to make the UI labels ('Save as a Shortcut', etc.) translatable.

Changed in openobject-client:
milestone: none → 6.0-rc2
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Olivier,

For the problem # 1: The relavent translated string are missing in translation files and has to be added there.
                                  for different langauges. These strings are a fixed set of strings at the client.

For the problem #2: we already fixed that issue a week back in response to the bug https://launchpad.net/bugs/682735 in ~openerp-dev/openobject-client/trunk-dev-client branch and will be merged soon to the trunk client.

Thanks,

Revision history for this message
tfr (Openerp) (tfr) wrote :

translation Issue are now fixed in trunk, wait for translation

Changed in openobject-client:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.