It’s possible to include translations for an extension’s name and description in _locales/{lang}/messages.json files. These display when someone installs the extension, but don’t seem to be used for the extension’s page on addons.mozilla.org. Instead, we have to go through each language one by one and copy and paste these strings into the name and summary fields.
Am I missing something obvious, or is this the only way to update the name and summary?
Your manifest.json includes strings that are displayed to the user, such as the extension’s name and description. If you internationalize these strings and put the appropriate translations of them in messages.json, then the correct translation of the string will be displayed to the user, based on the current locale, like so.
To internationalize strings, specify them like this:
@stig thanks for this, but yeah I’m already doing that. The translations are displaying correctly in multiple languages in about:addons, but not in the public page on addons.mozilla.org.
I had thought that the latter would display the strings from the _locales files if there wasn’t anything else specified, but it seems that it doesn’t.
It displays the strings specified in the amo management ui for the extension listing. These strings by default will use the ones from the extension when creating the listig, but they aren’t kept in sync afterward.