Closed
Bug 1044733
Opened 10 years ago
Closed 8 years ago
[Flatfish] Provide multi-locale builds
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jeliu, Unassigned)
References
Details
(Whiteboard: [flatfish][flatfish-hardware])
It will be very useful if we can have multi-locale builds for Flatfish, so developers can contribute more on the program.
Comment 1•10 years ago
|
||
I can't get the idea of multi-locale builds and the language settings can be changed in FTU or Settings application. Could you define multi-locale builds more clearly?
Flags: needinfo?(jeliu)
Reporter | ||
Comment 2•10 years ago
|
||
Currently only 4 languages are supported on Flatfish, we're wondering if we can support the same number of languages as phone?
Flags: needinfo?(jeliu)
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(jeff.cy.chuang)
Comment 3•10 years ago
|
||
We do not know how to add more languages in the FTU application or settings application. Could Mozilla engineers help on this bug?
Flags: needinfo?(jeff.cy.chuang)
Reporter | ||
Comment 4•10 years ago
|
||
Al, could you please provide your suggestion? Thanks.
Flags: needinfo?(atsai)
![]() |
||
Comment 5•10 years ago
|
||
Please reference here https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Localizing_Firefox_OS We'll need to add those strings only in tablet into all languages to support the display. Otherwise, this should work.
Flags: needinfo?(atsai)
![]() |
||
Comment 6•10 years ago
|
||
More detail and clear steps for building mutlilocale https://developer.mozilla.org/en-US/Firefox_OS/Building#Building_multilocale
Comment 7•10 years ago
|
||
Partner can use those build config options in B2G/.userconfig file https://gist.github.com/TheoChevalier/ea5b85aa7b2926e95d11 This will enable all the currently supported keyboards on 2.1 (export GAIA_KEYBOARD_LAYOUTS) This will also fix the image resolution bug, all the Gaia images should be @2x assets on Flatfish (export GAIA_DEV_PIXELS_PER_PX=2) Multilocale-related options are the last 3 options (LOCALES_FILE, LOCALE_BASEDIR, GAIA_LOCALES_PATH) https://gist.github.com/TheoChevalier/254461892d8bf118e1bc Then you can run this script to download all the current locales on master with: ./locales.sh gaia /path/to/B2G/gaia/locales (First, do a |sudo chmod +x ./locales.sh| on the file so you can execute it) Note: please run it every time you do a new build, just before running ./build.sh, so that locales are updated with latests translations. Feel free to ask if you have any issue :)
Comment 8•10 years ago
|
||
(In reply to Théo Chevalier [:tchevalier] from comment #7) > Partner can use those build config options in B2G/.userconfig file Just noticed I failed the first copy/paste… Here are the build config options: export GAIA_DEVICE_TYPE=tablet export B2G_SYSTEM_APPS=1 export GAIA_DEV_PIXELS_PER_PX=2 export GAIA_KEYBOARD_LAYOUTS=ar,bg-BDS,bg-Pho-Ban,bg-Pho-Trad,bn-Avro,bn-Probhat,ca,cs,da,de,dz-BT,el,en,en-Colemak,en-Dvorak,en-Neo,es,es-Americas,ff,fr,fr-Dvorak-bepo,he,hi,hr,hu,it,jp-kanji,ko,lt,mk,my,nb,nl,pl,pt-BR,ro,ru,sk,sr-Cyrl,sr-Latn,sv,ta,tr-F,tr-Q,vi-Qwerty,vi-Telex,vi-Typewriter,zh-Hans-Pinyin,zh-Hant-Zhuyin export LOCALES_FILE=gaia/locales/languages_all.json export LOCALE_BASEDIR=gaia/locales export GAIA_LOCALES_PATH=gaia/locales
Comment 9•10 years ago
|
||
There seem to be locales missing from that list, in particular "ours" (gd, ga, gv) https://github.com/mozilla-b2g/gaia/tree/master/apps/keyboard/js/layouts
Comment 10•10 years ago
|
||
Just flashed yesterdays build onto the tablet. There are still no locales other than English on the tablet builds. This is getting a little frustrating I must say. I got the tablet specifically to help flush out l10n issues and as yet, I'm unable to do anything useful on that front because there are no locales other than English in the builds.
Comment 11•10 years ago
|
||
We now have langpacks support on 3.0, (enabled today). Should work on Flatfish as well. Just go to Settings > Languages > Install other languages It will be uplifted to 2.2.
Comment 12•10 years ago
|
||
Mmm ok sounds good but how do I practically get off 2.2 onto 3? I usually follow these instructions https://wiki.mozilla.org/FirefoxOS/TCP/Flashing_your_device/#Flashing_Your_Device but the builds are only for 2.x? That doesn't offer me Settings > Languages > Install other languages
Comment 13•10 years ago
|
||
Just flashed the latest for Flatfish but it's still 2.2.
>It will be uplifted to 2.2.
Sorry, I don't understand, what does this mean?
Comment 14•10 years ago
|
||
I have just flashed the 7 March version onto the tablet, it's still 2.2.0.0. I've googled info about flashing 3.0 but can't find anything. Could you please let me know where I get 3.0?
Flags: needinfo?(theo.chevalier11)
Comment 15•10 years ago
|
||
Hi Michael, You'll find people able to help you get 3.0 builds on #TCP channel on IRC, see https://wiki.mozilla.org/FirefoxOS/TCP#Step_1:_Get_in_touch I'm not sure what's the status of Flatfish builds these days. Also, we are creating too much noise in this bug, this is not the right place ;) >It will be uplifted to 2.2. It means the langpacks support has been added to 2.2 branch as well. More info about langpacks on bug 1107341 if you're interested.
Flags: needinfo?(theo.chevalier11)
Comment 16•8 years ago
|
||
Closing this, as OS is no longer in development
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•