Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 2.76 KB

LOCALIZATION-NOTES.md

File metadata and controls

51 lines (32 loc) · 2.76 KB

Localization in IPFS Companion

Table of contents

IPFS Companion supports running in specific locales, with translations provided by the community via Transifex.

Running Chrome with a specific locale

Chrome comes with locales out of the box, so it is enough to set the proper env:

LANGUAGE=pl chromium --user-data-dir=`mktemp -d`

Further resources

Running Firefox with a specific locale

Unless you've installed a locale-specific build, Firefox will have English only. If your build already has the locale you are interested in, skip step #2.

  1. Set intl.locale.requested in about:config or the command line via:

    web-ext run --pref intl.locale.requested=pl
  2. Install your language pack from https://addons.mozilla.org/firefox/language-tools/

  3. Reload the browser extension; it should detect your new locale

Further resources

Contributing translations

Internationalization in IPFS Companion (and all IPFS-related projects) depends on the contributions of the community. You can give back by contributing translations in your language(s)! Go to the IPFS Companion Transifex page, send a request to join a specific language team, and start translating. You can also download raw files from Transifex, translate them in your own editor/tool, and then upload them back there, but many people prefer using the simple and friendly Transifex GUI.

If your language is not present in add-on/_locales yet, but is supported by mainstream browsers, please create a new issue requesting it.

Don't worry if GitHub does not immediately reflect translations added at Transifex: New translations are merged manually before every release. Locale files at GitHub are often behind what is already translated at Transifex. It is a good idea to keep Transifex email notifications enabled to be notified about new strings to translate.