locked
Considerations for translating English app to a given dialect of Chinese RRS feed

  • Question

  • User-258520468 posted

    I have an ASP.NET 3.5 application that has been designed from to be multi-language. It uses resource files to handle translations and you can add new themes & skins if you need to.

    So far we've been using English (UK) but a requirement is to translate text for Captions and dropdowns etc to Chinese - I don't know what dialect yet.

    I have no experience with any Chinese dialects.

    What considerations should I take into account during the design phase? 

    Will I need to install new font packs to support a particular Chinese dialect? Will they auto-install?

    What other gotchas might I encounter when porting?

     In a nutshell, this is what I think I need to do, please let me know if there's any issues staring you in the face Laughing:

    1. All "Literal" controls on ASP.NET page to have text translated to Chinese (meta:resourcekey is set for them)

    2. ValidatorControl ErrorMessage properties to have text translated (meta:resourcekey is set for them)

    3. AJAX Toolkit controls (e.g. MaskedEditValidator) to have text ad ErrorMessage properties translated (meta:resourcekey is set for them, but do they use it, one wonders?)

    4. Standing (static) data in database used to populate dropdowns, to be translated also   (job for DBA)

    5. Set CurrentCulture and UICulture properties for page to pick appropriate dialect of Chinese

    6. Number input stays the same as it was (UK way, 2 decimal places on currency etc).

    Thursday, October 6, 2011 4:30 AM

Answers

  • User-276842610 posted

    Hi tunstals,

    There are several things that could be considered:

    1, add below key in web.config file

    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />

    http://msdn.microsoft.com/en-us/library/hy4kkhe0(v=VS.100).aspx

    2, you can use the 'General Local Resource' in Tool menu to generate resource file and type values for each resources

    more details about how to Create Resource Files for ASP.NET Web Sites, please refer:
    http://msdn.microsoft.com/en-us/library/ms247246.aspx

    3, about culture information. please refer:

     zh-CHS represents Simplified Chinese, the form of written Chinese used by the mainland. zh-CHT represents Traditional Chinese, used by Hong Kong and Taiwan. There is no culture with the name of just zh to represent Chinese in general. I learned this the hard way when attempting to simplify the names of my Resource files (.resx files) so that they did not represent a specific culture and tried to use just zh for my Simplified Chinese, which needless to say did not work.

    http://www.philiptenn.com/2009/03/localization-in-aspnet.html

    hope this helps, thanks.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, October 7, 2011 6:14 AM