theme-scripts
theme-scripts copied to clipboard
theme-addresses - Norwegian translations
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
See Duplicate of #101