Creating translations for different variants of Chinese
Hello there,
We are using polyglot to create translations in a multisite installation of Umbraco. One website within our system needs to be translated into Simplified Chinese and Traditional Chinese. I have added Simplified and Traditional Chinese to the languages section within Umbraco but when I create translations with Polyglot I only get an option for Chinese (zh).
Is Polyglot able to handle multiple variations of a language?
You're welcome! In principle no, there aren't any. The only problem is that if you start supporting cultures, you will have to change all the language codes in the translation labels from en for example to en-US, en-UK,etc. The same in your links, and, possibly in your custom code.
Creating translations for different variants of Chinese
Hello there,
We are using polyglot to create translations in a multisite installation of Umbraco. One website within our system needs to be translated into Simplified Chinese and Traditional Chinese. I have added Simplified and Traditional Chinese to the languages section within Umbraco but when I create translations with Polyglot I only get an option for Chinese (zh).
Is Polyglot able to handle multiple variations of a language?
Many thanks
Hi!
Thank you for looking into Polyglot! Indeed, it can do that, but you need to add this to your AppSettings:
Please see the documentation for more information (section "Translating to Different Cultures of the Same Language").
Best regards,
Dimitri
sorry... I am writing from my phone and it's not perfect. This is the setting :add key="uPolyglotUseCultureInLanguageCode" value="true"
Hi Dimitri, thanks for the quick reply! Looks like I'll have to upgrade from 1.4. Are there any breaking changes between 1.4 and 1.5?
You're welcome! In principle no, there aren't any. The only problem is that if you start supporting cultures, you will have to change all the language codes in the translation labels from en for example to en-US, en-UK,etc. The same in your links, and, possibly in your custom code.
is working on a reply...