Closed Bug 932623 Opened 12 years ago Closed 7 years ago

[B2G][Helix][gecko-l10n][zhaotao]gecko string international works after reboot phone

Categories

(Firefox OS Graveyard :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lecky.wanglei, Unassigned)

Details

User Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; aff-kingsoft-ciba; Zune 4.7) Steps to reproduce: 【Detail Description*】:gecko string international works after reboot phone【Repro Steps*】: 1、download gecko international string resources from http://hg.mozilla.org/releases/l10n/mozilla-beta/,(i am using V1.1HD) 2、merge gecko string resource to the gecko-l10n directory of my local build; 3、modify the build.sh file,add: export L10NBASEDIR=$PWD/gecko-l10n export MOZ_CHROME_MULTILOCALE="es en-US pt-BR" export PATH="$PATH:$PWD/compare-locales/scripts" export PYTHONPATH="$PWD/compare-locales/lib" 4.build my local build,and burn the image to the phone,then test gecko string international function Actual results: In step 2: i found that gecko international resource is different with gaia,for example,our version support spanish,english,portugal language,the corresponding gaia-l10n directory is es,en-US,pt-BR, but in http://hg.mozilla.org/releases/l10n/mozilla-beta/,i can only find: es-AR,es-CL,es-ES,es-MX(and i assume that we should use es-ES,right?) en-GB,en-ZA(and i assume that we should use en-GB,is that right?) In step 4, when i change system language,i find that gecko string does not change according to current system language,when i reboot the phone,then gecko string will match the system language. Expected results: About gecko string resource,please clarify how to match with gaia(es,en-US) And gecko string international works after reboot phone,is that by design? Because it is also different with gaia,gaia string will change after change system language,no reboot needed.
Priority: -- → P2
Summary: [B2G][Helix][gecko-l10n]gecko string international works after reboot phone → [B2G][Helix][gecko-l10n][zhaotao]gecko string international works after reboot phone
Beatriz, can you comment which es localisation set they should use on helix?
Flags: needinfo?(brg)
(In reply to lecky from comment #0) > User Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0; > SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media > Center PC 6.0; .NET4.0C; .NET4.0E; aff-kingsoft-ciba; Zune 4.7) > > Steps to reproduce: > > 【Detail Description*】:gecko string international works after reboot > phone【Repro Steps*】: > 1、download gecko international string resources from > http://hg.mozilla.org/releases/l10n/mozilla-beta/,(i am using V1.1HD) > 2、merge gecko string resource to the gecko-l10n directory of my local build; > 3、modify the build.sh file,add: > export L10NBASEDIR=$PWD/gecko-l10n > export MOZ_CHROME_MULTILOCALE="es en-US pt-BR" > export PATH="$PATH:$PWD/compare-locales/scripts" > export PYTHONPATH="$PWD/compare-locales/lib" Hi, You should change the locale "es" for "es-ES", since it the language code in Gecko. So the export should end up like this: export MOZ_CHROME_MULTILOCALE="es-ES en-US pt-BR" > 4.build my local build,and burn the image to the phone,then test gecko > string international function > > > Actual results: > > In step 2: > i found that gecko international resource is different with gaia,for > example,our version support spanish,english,portugal language,the > corresponding gaia-l10n directory is es,en-US,pt-BR, > > but in http://hg.mozilla.org/releases/l10n/mozilla-beta/ ,i can only find: > es-AR,es-CL,es-ES,es-MX(and i assume that we should use es-ES,right?) Yes, that's correct. "es" in Gaia maps to "es-ES" in Gecko. > en-GB,en-ZA(and i assume that we should use en-GB,is that right?) You should not download any English language, since en-US is the default language in Gecko (which differs from Gaia structure). > > In step 4, > when i change system language,i find that gecko string does not change > according to current system language,when i reboot the phone,then gecko > string will match the system language. By "reboot" do you mean power off and on the phone or reset the phone? > > > Expected results: > > About gecko string resource,please clarify how to match with gaia(es,en-US) > > And gecko string international works after reboot phone,is that by design? Axel, ni? > > Because it is also different with gaia,gaia string will change after change > system language,no reboot needed.
Flags: needinfo?(brg) → needinfo?(l10n)
Hi,Guillermo,thanks for the reply, "reboot" means power off and on the phone.
I shouldn't need a reboot, but it won't retranslate existing content. So, you browse to a DNS not found page, and switch language: The browser UI will be retranslated, the DNS not found page won't. If you reload the page, it should update to the new gecko language, if it's available, or fall back to en-US.
Flags: needinfo?(l10n)
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.