Last Comment Bug 580833 - Language preference synced as chrome URL
: Language preference synced as chrome URL
Status: RESOLVED DUPLICATE of bug 654099
Product: Cloud Services
Classification: Client Software
Component: Firefox Sync: Backend (show other bugs)
: unspecified
: x86 Linux
-- normal with 5 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
Depends on:
  Show dependency treegraph
Reported: 2010-07-21 16:55 PDT by jul.cornu
Modified: 2011-12-10 19:48 PST (History)
18 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---


Description User image jul.cornu 2010-07-21 16:55:38 PDT
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr; rv: Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; fr; rv: Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6

Out of the blue, google started to display its main page in a language I quite wasn't able to read nor identify at the moment, while before it was in french. A picture is better than a thousand words:

After some investigation (and some help from the Ubuntu forum), the problem was that the language in Preferences->Content->Language was set to 


which apparently google interpreted as the Cherokee (!) language, whose code is chr (i.e. "chrome" truncated). See the address bar in the second picture for confirmation.

When I changed the language to [fr-ch] (Swiss french), the problem was solved.

I suspect all started after an update, but I can't be sure about it as I didn't pay attention.

Reproducible: Couldn't Reproduce

Steps to Reproduce:
The problem is, I can't directly enter [chrome://global/locale/] as a language in Preferences->Content->Language, as I have to choose from a list.

Actual Results:  
Google displayed in Cherokee language.

Expected Results:  
Google displayed in french (or english, well a more broadly understood language)

Probably started to happen after an update.
Comment 1 User image Sterling Stein 2010-08-09 20:46:56 PDT
I just got bit by this.
I wonder if it is related to:
I had just upgraded from SeaMonkey 1.7 to SeaMonkey 2.0.6.
The settings migration left my
Accept-Language and Accept-Charset headers
as "chrome://..." as described above,
which also lead to me getting Google in Cherokee.

Also, it looks like this bug is only on Linux.
It seems to be mostly Firefox 3.6 and SeaMonkey 2.0.
I suspect this is due to the settings migration not working properly.
Comment 2 User image Benedikt Pfeifer [:Mic] 2010-08-16 05:04:44 PDT
I've seen this as well on Ubuntu 9.10, Firefox 3.6.8.
Happened suddenly.

Fix in comment 0 helped.
Comment 3 User image Paul Biggar 2010-10-07 11:18:23 PDT
I also see this, and another kind soul helped me diagnose it (with the same answer, see: for the diagnosis).

The poster believes it's the fault of Firefox sync.
Comment 4 User image Matthew Minuti 2010-10-27 06:50:08 PDT
I can confirm this bug being triggered by Firefox Sync. On a brand-new install of Ubunutu 10.10, using US English as the system language, google was working fine until the second sync. I imagine the first sync sent language data and the second sync tried to copy that data down.

I worked around the bug by explicitly setting the language in Firefox to "en-us". This workaround has held through multiple sync events, so I think it would be worth checking to see if sync is accidentally truncating stored language settings.
Comment 5 User image Janet Swisher 2010-11-20 13:33:30 PST
(In reply to comment #4)
Ditto to Matthew's experience: Fx 3.6.12 on newish Ubuntu 10.04 with Sync. Language now set to '[chrome://global/locale/]'. I'm happy to send any data you might want from this machine. I'll use the URL workaround for now, to leave the settings as they are.
Comment 6 User image Martin 2011-01-04 01:28:36 PST
Same here on Kubuntu 10.10, bug appeared after setting up firefox sync. Changing the language preferences back to de-AT fixed it for me. BTW, Google being displayed in the Cherokee language, definitely one for the books. Hilarious.
Comment 7 User image Hans Nieser 2011-02-12 06:03:41 PST
Bug still present with FF 3.6.13, FF Sync 1.6.2, running Gentoo. Same thing with language preferences being set to a chrome:// URL.
Comment 8 User image [Baboo] 2011-03-01 05:21:00 PST
I can reproduce this also with latest Fx4 nightly.
Comment 9 User image Craig Cornelius 2011-03-17 16:57:29 PDT
Google Web Search uses hl= to indicate the user interface language.

They have added support for the Cherokee language (chr) recently, and use  the AcceptLanguage value if present - parsing the first 3 characters gives the UI in that language.
Comment 10 User image Oliver Ewert 2011-04-21 16:17:44 PDT
Same as this bug on the ubuntu bug tracking:

My workaround:
In firefox 4, go to about:config
type 'intl.accept_languages' into the filter
double click (or rightclick->modify) the intl.accept_languages entry
press ok and it will automatically convert chrome://global/locale/ into the actual language properties
If it does not convert automatically you will need to change it manually to your language e.g. en-us, en

I am thinking this is a problem with chrome putting a link to one of it's config files instead of just putting the values in.
Comment 11 User image Damien 2011-05-15 06:55:20 PDT
It's also affect me ...
I have Change Languages Préférences to fix this: 
Edit > Preferences > Content > In "Language" section click to Choose. Delete "chrome://..." and replace by your language !
Comment 12 User image Oliver Ewert 2011-05-15 15:21:10 PDT
I can't seem to add a link to the see also links so someone who knows what they are doing can do that but;

reports Status: Fix Committed
Comment 13 User image .salo 2011-08-22 12:43:18 PDT
I've seen this bug on Ubuntu 10.10 and Firefox 6.0
Comment 14 User image Andrew Halberstadt [:ahal] 2011-12-10 15:05:25 PST
This is still happening in the latest nightly (11.0a1, 2011-12-09), both in Linux and Windows (though Windows may just be the result of syncing).
Comment 15 User image Andrew Halberstadt [:ahal] 2011-12-10 15:21:28 PST
Moving to sync component as per comment 4, 5 and 6.
Comment 16 User image Richard Newman [:rnewman] 2011-12-10 15:25:26 PST

*** This bug has been marked as a duplicate of bug 654099 ***
Comment 17 User image Gregory Szorc [:gps] (away until 2017-03-20) 2011-12-10 19:48:32 PST
For those not wanting to follow the bug dupe chain, you can prevent Sync from modifying any preference by setting the pref:

 services.sync.prefs.sync.<pref> to false

For this bug, you would open about:config and set services.sync.prefs.sync.intl.accept_languages to false. By default it is true, which means to sync the "intl.accept_languages" pref across devices.

This is a workaround until the root cause of the corrupted intl.accept_languages preference is addressed.

Note You need to log in before you can comment on or make changes to this bug.