зеркало из
1
0
Форкнуть 0
fxa-content-server-l10n/locale
Mikkel Herold 7284ef03df Pontoon: Update Danish (da) localization of Mozilla accounts
Co-authored-by: Mikkel Herold <mikkel@mzh.dk>
2024-11-22 08:41:53 +00:00
..
ar
ast
be
bg
bn
bs
ca
cak
cs Pontoon: Update Czech (cs) localization of Mozilla accounts 2024-11-17 20:41:36 +00:00
cy Pontoon: Update Welsh (cy) localization of Mozilla accounts 2024-11-20 17:11:34 +00:00
da Pontoon: Update Danish (da) localization of Mozilla accounts 2024-11-22 08:41:53 +00:00
de
dsb
el
en
en_CA
en_GB
en_US/LC_MESSAGES
es Merge strings for train 22928 (#872) 2024-11-18 14:15:54 -08:00
es_AR
es_CL Pontoon: Update Spanish (Chile) (es-CL) localization of Mozilla accounts 2024-11-15 23:31:38 +00:00
es_ES Pontoon: Update Spanish (Spain) (es-ES) localization of Mozilla accounts 2024-11-17 21:21:54 +00:00
es_MX
et
eu
fa
fi
fr
fur
fy Merge strings for train 22928 (#872) 2024-11-18 14:15:54 -08:00
fy_NL Pontoon: Update Frisian (fy-NL) localization of Mozilla accounts 2024-11-17 15:02:20 +00:00
gd
gl
gn
he Pontoon: Update Hebrew (he) localization of Mozilla accounts 2024-11-16 17:21:47 +00:00
hi
hi_IN
hr
hsb
hu
hy_AM
ia Pontoon: Update Interlingua (ia) localization of Mozilla accounts 2024-11-21 02:41:50 +00:00
id
is Pontoon: Update Icelandic (is) localization of Mozilla accounts 2024-11-19 16:02:31 +00:00
it
ja
ka
kab
kk
km
ko Pontoon: Update Korean (ko) localization of Mozilla accounts 2024-11-17 14:11:44 +00:00
lt
mk
ms
my
nb_NO
ne_NP
nl
nn_NO Pontoon: Update Norwegian Nynorsk (nn-NO) localization of Mozilla accounts 2024-11-16 11:51:35 +00:00
pa_IN Pontoon: Update Punjabi (pa-IN) localization of Mozilla accounts 2024-11-18 02:02:41 +00:00
pl
pt Merge strings for train 22928 (#872) 2024-11-18 14:15:54 -08:00
pt_BR Pontoon: Update Portuguese (Brazil) (pt-BR) localization of Mozilla accounts 2024-11-19 11:41:42 +00:00
pt_PT
rm Pontoon: Update Romansh (rm) localization of Mozilla accounts 2024-11-19 10:31:52 +00:00
ro
ru
sk
sl Pontoon: Update Slovenian (sl) localization of Mozilla accounts 2024-11-19 14:11:41 +00:00
sq Pontoon: Update Albanian (sq) localization of Mozilla accounts 2024-11-19 15:02:36 +00:00
sr
su
sv Merge strings for train 22928 (#872) 2024-11-18 14:15:54 -08:00
sv_SE Pontoon: Update Swedish (sv-SE) localization of Mozilla accounts 2024-11-16 02:21:47 +00:00
te
templates
th Pontoon: Update Thai (th) localization of Mozilla accounts 2024-11-22 07:32:13 +00:00
tl
tr Pontoon: Update Turkish (tr) localization of Mozilla accounts 2024-11-19 21:51:10 +00:00
tt
uk
ur
uz
vi
zh_CN
zh_TW
README.md

README.md

l10n

This directory contains translated strings for all supported locales. Strings are extracted using a gettext compatible extractor, generating PO template files.

Adding new strings

If you add a new string to the app or server, you'll need to wrap it in a gettext call so it can be extracted. In a mustache template, that will look like {{#t}}My new string{{/t}} and in a JavaScript it will look like t("My new string") (t is an alias for gettext).

After you've added new strings to source, you'll need to extract them and update the .pot files, using grunt:

grunt extract-l10n

This will also update the other locales with any new strings.

Updating translations

Translators will update the .po files in this repo directly. To convert the new translations into JSON for the app to use, run:

grunt po2json

The JSON is not included under version control– they're regenerated on each deployment.