As far as I understand, all translations are packaged into an extension no matter what?
Wouldn’t this mean the more languages one supports and the more one has to translate, the more useless data is packaged and downloaded by users?
Before this my first thought was to simply package different versions with different languages, since this doesn’t require much work to add into my bundler and the user wouldn’t see more than a simple language selection before the download.
Considering that most users don’t regularly switch between languages I saw this as a reasonable approach, however this wouldn’t work with Mozillas addon distribution I’m guessing or is there a way to provide different version / flavors?
Another approach I was considering is to fetch translations with every install / addon update and to either ship minimal English / full English translations by default.