Hi, when I'm running an eCommerce site I have a lot of buttons like "add to the cart", and this is not property on a product level, its more property of the website itself.
Now I need to make it multilingual, can anyone tell me what is the best way to do that?
I familiarized myself with a language variants in V8, which are great but they are not working for this out of the box I think.
You can use Dictionary for these type of label. Dictionary is available in translation section and will show label based on your selected language.
By default, Translation section is not visible in Umbraco 8. You have to add translation section to the user group you want to have access to the section (go to the users section click on groups in the top right-hand corner).
When you enable it you should see Translations across the top, and the dictionary section is in there.
In Razor, you can use following code to fetch DictionaryValue.
var dictionary = Umbraco.GetDictionaryValue("testing");
Multi-language - labels
Hi, when I'm running an eCommerce site I have a lot of buttons like "add to the cart", and this is not property on a product level, its more property of the website itself.
Now I need to make it multilingual, can anyone tell me what is the best way to do that?
I familiarized myself with a language variants in V8, which are great but they are not working for this out of the box I think.
Cheers, Vojta
Hi,
You can use Dictionary for these type of label. Dictionary is available in translation section and will show label based on your selected language.
By default, Translation section is not visible in Umbraco 8. You have to add translation section to the user group you want to have access to the section (go to the users section click on groups in the top right-hand corner).
When you enable it you should see Translations across the top, and the dictionary section is in there.
In Razor, you can use following code to fetch DictionaryValue. var dictionary = Umbraco.GetDictionaryValue("testing");
Regards,
Shaishav
yeah, that helps. Thanks!
is working on a reply...