WARNING:translate:Unable to set locale en_US.UTF8

Bug #296684 reported by Mathias Picker
6
Affects Status Importance Assigned to Milestone
OpenERP
Fix Released
Undecided
Unassigned

Bug Description

On FreeBSD 7.1 prerelease the client says:

WARNING:translate:Unable to set locale en_US.UTF8

My locale is set to de_DE.UTF-8. In the same way the correct locale/charset for FreeBSD would be en_EN.UTF-8. Where is the en_EN.UTF8 coming from?

Revision history for this message
Mathias Picker (mathias-picker) wrote :

On investigating, I found that python return UTF8. So I added

        if encoding == 'UTF8':
            encoding = 'UTF-8'

to translate.py as a workaround.

Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Which vesion of OpenERP ?

Changed in openerp:
status: New → Incomplete
Revision history for this message
Mathias Picker (mathias-picker) wrote :

client revno 730, python 2.5.2, freebsd-7.1 prerelease from 2008-10-31

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello mathiasp,

go to terminal, login as root user(sudo su root)run this command in terminal:
dpkg-reconfigure locales
this will enlist the locales you have.

to generate your desired locale,
run,
locale-gen de_DE
 or
locale-gen en_US de_DE ( your desired locales separated by a space)

Try this.

Thanks.

Changed in openerp:
status: Incomplete → New
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

dpkg-reconfigure does not exist on FreeBSD

Changed in openerp:
status: New → 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.