- Running Chrome with a specific locale
- Running Firefox with a specific locale
- Contributing translations
IPFS Companion supports running in specific locales, with translations provided by the community via Transifex.
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`
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.
-
Set
intl.locale.requested
inabout:config
or the command line via:web-ext run --pref intl.locale.requested=pl
-
Install your language pack from https://addons.mozilla.org/firefox/language-tools/
-
Reload the browser extension; it should detect your new locale
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.