Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • james 37 posts 121 karma points c-trib
    Jul 10, 2013 @ 11:57
    james
    0

    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

  • dimi309 245 posts 579 karma points
    Jul 10, 2013 @ 12:07
    dimi309
    0

    Hi!

    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").

    Best regards,

    Dimitri

  • dimi309 245 posts 579 karma points
    Jul 10, 2013 @ 12:26
    dimi309
    0

    sorry... I am writing from my phone and it's not perfect. This is the setting :add key="uPolyglotUseCultureInLanguageCode" value="true"

  • james 37 posts 121 karma points c-trib
    Jul 10, 2013 @ 14:19
    james
    0

    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?

  • dimi309 245 posts 579 karma points
    Jul 10, 2013 @ 14:31
    dimi309
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft