L10n:B2G/Localizers: Difference between revisions

Jump to navigation Jump to search
Line 40: Line 40:


It's possible to test localizations using a desktop build of B2G.  The trickiest part is adding your locale to the build, but you only have to do it once.  All the work that follows happens in your locale's HG repository.
It's possible to test localizations using a desktop build of B2G.  The trickiest part is adding your locale to the build, but you only have to do it once.  All the work that follows happens in your locale's HG repository.
You'll need to have Python installed for this next step. OS X and most Linux distributions come with it by default. You can download the Windows installer at http://www.python.org/download/.


===Download B2G Desktop===
===Download B2G Desktop===
Line 74: Line 76:
       "zh-TW" : "正體中文"
       "zh-TW" : "正體中文"
     }
     }
    make production LOCALE_BASEDIR=locales/ LOCALES_FILE=locales/languages_all.json GAIA_DEFAULT_LOCALE=pl
====Localization files====
You'll need to have Python installed for this next step. OS X and most Linux distributions come with it by default. You can download the Windows installer at http://www.python.org/download/.
Run <code>make multilocale</code> to copy the localization files to apps' folders and enable your locale in the appropriate ''locales.ini'' files.


===Create a profile===
===Create a profile===
Line 87: Line 81:
Now create a profile with your locale enabled:
Now create a profile with your locale enabled:


     make profile (or ./build.sh gaia if you're building the entire B2G project)
     make production LOCALE_BASEDIR=locales/ LOCALES_FILE=locales/languages_all.json GAIA_DEFAULT_LOCALE=pl


===Run Gaia===
===Run Gaia===
canmove, Confirmed users
1,448

edits

Navigation menu