How can I use different texts for language variations on my website?

Hello,

real quick:

I stumbled across an issue where I need to use different texts for variations of the same language.

Like “color” and “colour” but more important for my site. I tried to set the “lang” parameter of my html tag to specific language variations like “de-CH” and “de-AT” but it won’t load the de-ch.json but the de.json for translation. Am I doing something wrong? Is it possible to manipulate the translation system?

The translation of some text works with different languages like “de” and “en” but for “de-CH” it will load the “de” variant.

Maybe it is possible to add another language the the “settings->languages->add language” dropdown, like “Englisch (UK)” ?

Hi @bnry_s00tgrmln ,

With language in settings, it is not possible. This is managed by Shopify. So you just need to contact Shopify, they will check and guide you in detail. Refer https://help.shopify.com/en/questions#/contact

If you want to add custom language for the theme, you can go to:

Actions > Edit languages > Change theme language > Other languages.


Hope it is clear to you.