Testing localizations
To test your extension's localization, you use Firefox or Firefox Beta, the Firefox builds where you can install language packs.
To test your extension's localization, you use Firefox or Firefox Beta, the Firefox builds where you can install language packs.
For each locale supported in your extension, follow the instructions to Use Firefox in another language to switch the Firefox UI language. (If you know your way around Settings, under Language, use Set Alternatives.)
When Firefox is running in your test language, from about:debugging
, install the extension temporarily or reload it if it's installed. After installing or reloading your extension, if you've set up your extension correctly, you see it listed with its icon, name, and description in the chosen language. You can also see the localized extension details in about:addons
. Now, exercise the extension's features to ensure the translations are in place.
To try this process out, use the notify-link-clicks-i18n extension. Set up Firefox to display one of the languages supported in the example (German, Dutch, or Japanese). Load the extension and go to a website. Click a link to see the translated version of the notification reporting the link's URL.
Develop
Publish