web-ext-translator icon indicating copy to clipboard operation
web-ext-translator copied to clipboard

regional variant separator

Open yfdyh000 opened this issue 7 years ago • 1 comments

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization#Providing_localized_strings_in__locales However, in the directories under _locales, the separator must be an underscore: "en_US".

Firefox accepts both - and _, but Chrome only accepts _.

yfdyh000 avatar Aug 19 '18 02:08 yfdyh000

The desktop version of this app saves folders with an underscore and if you export the files as ZIP, the folders use underscores as well. it's only in the editor that the standard - is used. I guess I could improve the prepared text for github issues to include the directory name, so that add-on authors don't make this mistake (I stumbled upon this myself just yesterday).

Lusito avatar Aug 19 '18 09:08 Lusito