Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
Thank you for looking into Polyglot! Indeed, it can do that, but you need to add this to your AppSettings:
<add key="uPolyglotUseCultureInLanguageCode" value="true" />
Please see the documentation for more information (section "Translating to Different Cultures of the Same Language").
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...
Write your reply to:
Image will be uploaded when post is submitted