Copied to clipboard

Flag this post as spam?

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


  • devsteven 4 posts 24 karma points
    Nov 19, 2009 @ 05:05
    devsteven
    0

    How can we translating Chinese langauge file in umbraco?

    Hi ,all

    I'm translating Chinese for umbraco ,but I can't found chinese file in this path "umbraco\config\lang ", how do I resolve ? or  What tools can be used
    ?     

    "<language alias="cn" intName="Chinese (cn)" localName="Chinese" lcid="" culture="zh-CN">" , in this code , How do I write?  I'm in a hurry,

    thanks!

    Regards,

    /devsteven

  • Chris Houston 533 posts 977 karma points MVP admin c-trib
    Nov 19, 2009 @ 10:16
    Chris Houston
    0

    Hi,

    The language files in the umbraco\config\lang path are used for the text in the Umbraco interface.

    I have not tried it, but in theory you should be able to create a new zh.xml file by copying the current en.xml file and then translate all the items into chinese. ( I am assuming the XML will support the chinese character set, but I have never tried it, maybe someone else knows the answer to that? )

    In the web.config file you will then need to change the default UI language:

        <add key="umbracoDefaultUILanguage" value="en" />

    To:

        <add key="umbracoDefaultUILanguage" value="zh" />

    If you do manage to get this working it would be good if you could post your translated language file somewhere as I am sure someone else will need it in the future.

    Cheers,

    Chris

  • devsteven 4 posts 24 karma points
    Nov 19, 2009 @ 10:51
    devsteven
    0

    thank you. I will try it , could you tell me your msn  or email,  I have some questions  consult you, thank you

    regards

    /devsteven

  • devsteven 4 posts 24 karma points
    Nov 20, 2009 @ 08:10
    devsteven
    0

    hi , All

    I tried it ,but still con't replace  chinese ,please help me

    regards,

     

  • Per Ploug 865 posts 3491 karma points MVP admin
    Nov 20, 2009 @ 10:03
    Per Ploug
    0

    There is a language file translation service setup here, if your language is not represented, you can create it and start the translation.

    http://umbraco.org/documentation/language-files

  • Chris Houston 533 posts 977 karma points MVP admin c-trib
    Nov 20, 2009 @ 11:42
    Chris Houston
    0

    Hi Per,

    That is useful to know, I didn't know that existed :)

    Just a thought to help Devsteven, if he wanted to add a new language that is not on the list ( and not in the drop down ) could you let us know the right way of going about it, or point us in the direction of some documentation if it exists.

    From my limited understanding of Chinese, there are multiple languages ( Mandarin and Cantonese being two main languages, of which each has several dialects ) but they also have multiple character sets, e.g. Traditional and Simplified chinese, so how should these be specified?

    Cheers,

    Chris

  • Per Ploug 865 posts 3491 karma points MVP admin
    Nov 26, 2009 @ 11:03
    Per Ploug
    1

    Those are all very very good questions, I am not at all familiar with the chineese languages, so I cannot tell if a language is missing or not. So any native Chinese speaking who would have some input on this? 

    We will move the translation tool to our.umbraco at some point to make it more visible, so if anyone have suggestions on any needed enhancements we could do at the same time, that would be awesome.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies