L10n:B2G/Adding Locales
< L10n:B2G
Jump to navigation
Jump to search
Here are the steps to follow by l10n drivers to add a locale to Gaia.
Create the repository
Follow ReleaseEngineering/RepositoryCreationRequest to get the repository created. See bug 834221 for an example.
Push to the repo at least once before you enable the locale in Elmo. For example, you could push a README file, similar to this:
This directory contains the vi locale for Firefox OS. For English files, see https://hg.mozilla.org/gaia-l10n/en-US/
(See example.)
Add to Gaia
Edit locales/languages_all.json in Gaia. Native language names can be found in the product-details lib.
See bug 838516 for example and the corresponding pull request.
Add to Elmo
Edit l10n-master/dir-builds.json in master-ball.
See this pull request for an example.