L10n:B2G/Localizers: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 78: Line 78:


(On Mac OS X, the path to the b2g executable is `/Applications/B2G.app/Contents/MacOS/b2g`.  You'll also need to specify _absolute_ path to the profile, without the trailing slash.)
(On Mac OS X, the path to the b2g executable is `/Applications/B2G.app/Contents/MacOS/b2g`.  You'll also need to specify _absolute_ path to the profile, without the trailing slash.)
Skip the First Time Screen by pressing "Next" a few times (it will be localized too, eventually).


Go into Settings and change the locale of the device.
Go into Settings and change the locale of the device.
Line 84: Line 86:


Thanks to <code>DEBUG=1</code>, Gaia will look for files in <code>/locales/pl/</code>.  See https://hg.mozilla.org/gaia-l10n/en-US/ for how to lay out the files.  File names should be <code>browser.properties<code>, and ''not'' <code>browser.en-US.properties</code> even though <code>/apps/browser/locales/locales.ini</code> might suggest otherwise.  There's some magic going on with the file names and locations to make it easier to just clone the Mercurial repo into <code>/locales</code>.
Thanks to <code>DEBUG=1</code>, Gaia will look for files in <code>/locales/pl/</code>.  See https://hg.mozilla.org/gaia-l10n/en-US/ for how to lay out the files.  File names should be <code>browser.properties<code>, and ''not'' <code>browser.en-US.properties</code> even though <code>/apps/browser/locales/locales.ini</code> might suggest otherwise.  There's some magic going on with the file names and locations to make it easier to just clone the Mercurial repo into <code>/locales</code>.
===Known Issues===
* You may need to restart your desktop build the first time you change the locale to yours.
* The "Language" panel in the Settings app might read "undefined" instead of showing your locale's name.
* The names of the applications will be in English.
* To localize dates (like the one on the lockscreen) localize <code>shared/date/date.properties</code>


==Related==
==Related==
canmove, Confirmed users
1,448

edits

Navigation menu