Table of content
If you've never contributed to a project before, this guide is a good place to start. It's also available in multiple languages.
The translations are located in /src/_locales/
. Beneath this directory each language is split into its own directory. In the language directory the translations are structured in the messages.json
file.
For deeper insight it's recommended to read the Internationalization guide for web extensions.
- Open the messages.json file for the target language.
- Alter the
message
text for the translation to update.
- Create a directory with the short language code. Allowed are identifiers like
de_DE
orde
, where the latter is the fallback. - Copy the
messages.json
file from the directoryen
in the new directory. - Replace all
message
s. - For
pluralRule
please see this definition. Current implemented rules are 0, 1, 2, 7 and 9 within the utility functiongetPluralForm()
;