regression 5.0: web client UI doesn't translate anymore according to user preference

Bug #632916 reported by Xavier ALT
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Unassigned

Bug Description

Hi,

We're using the web client (v5.0.14), but the user interface doesn't translate anymore according to user preferences.
The problem seems to appear after commit 2904 (http://bazaar.launchpad.net/~openerp/openobject-client-web/5.0/revision/2904). The get_locale() function doesn't take the session locale in account anymore.

Steps to reproduce the problem:
0. Steps your browse language preferences to english first (en).
1. Log in OpenERP from the web client
=> Main Menu and Shortcuts appear in english
2. Change the user language preference to French via Preference -> Language
=> Main Menu and Shortcuts menu still appear in english, this should normally be "Menu Principal" and "Raccourcis".

After reverting commit 2904, the web client react like excepted.

Revision history for this message
Songpon Phusing (songpon.p-almacom) wrote : Re: [Bug 632916] [NEW] regression 5.0: web client UI doesn't translate anymore according to user preference

I'm also found this bug

Xavier ALT (Thamini) wrote:
> Public bug reported:
>
> Hi,
>
> We're using the web client (v5.0.14), but the user interface doesn't translate anymore according to user preferences.
> The problem seems to appear after commit 2904 (http://bazaar.launchpad.net/~openerp/openobject-client-web/5.0/revision/2904). The get_locale() function doesn't take the session locale in account anymore.
>
> Steps to reproduce the problem:
> 0. Steps your browse language preferences to english first (en).
> 1. Log in OpenERP from the web client
> => Main Menu and Shortcuts appear in english
> 2. Change the user language preference to French via Preference -> Language
> => Main Menu and Shortcuts menu still appear in english, this should normally be "Menu Principal" and "Raccourcis".
>
> After reverting commit 2904, the web client react like excepted.
>
> ** Affects: openobject-client-web
> Importance: Undecided
> Status: New
>
>

Revision history for this message
Vaibhav Darji (vaibhav-openerp) wrote :

Hello Xavier ALT,

It has been fixed in stable at revision no:2925
<email address hidden>

Thanks for reporting.

Changed in openobject-client-web:
status: New → Fix Committed
status: Fix Committed → Confirmed
status: Confirmed → Fix Released
milestone: none → 5.0.15
Revision history for this message
Renato Lima - http://www.akretion.com (renatonlima) wrote :

I have the same issue with trunk version, I reported one bug report https://bugs.launchpad.net/openobject-client-web/+bug/599438

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.