theme-scripts icon indicating copy to clipboard operation
theme-scripts copied to clipboard

theme-addresses - Norwegian translations

Open Elisabeth-smartmedia opened this issue 4 years ago • 1 comments

I am having trouble translating the form labels and values ​​(e.g the country drop-down) into Norwegian. The "theme-addresses" package has defined which languages ​​are supported (line 51 in theme-addresses/loader.js), so it does not find "NB" or "NO" (for Norway) when trying to set this as locale in javascript in our shopify theme, like so: 

AddressForm(addressFields, 'NB');

However, if I set 'NB' as default locale directly in the file in the package (line 50 in theme-addresses/loader.js) then the translation works and the form is translated into Norwegian.

Is there any possibility you can update the theme-script to support Norwegian locale? I want to keep the package inside the package manager, I don´t want to load the script files directly in my theme.

Any help is greatly appreciated! @nimzco

Elisabeth-smartmedia avatar May 19 '20 07:05 Elisabeth-smartmedia

See Duplicate of #101

driespieters avatar May 19 '20 16:05 driespieters