unicode - What do I need to know to globalize an asp.net application? -


i'm writing asp.net application need localized several regions other north america. need prepare globalization? top 1 2 resources learning how write world ready application.

a couple of things i've learned:

  • absolutely , brutally minimize number of images have contain text. doing make life billion percent easier since won't have new set of images every friggin' language.

  • be wary of css positioning relies on things remaining same size. if things contain text, not remain same size, , need go , fix designs.

  • if use character types in sql tables, make sure of might receive international input unicode (nchar, nvarchar, ntext). matter, standardize on using unicode versions.

  • if you're building sql queries dynamically, make sure include n prefix before quoted text if there's chance text might unicode. if end putting garbage in sql table, check see if that's there.

  • make sure web pages definitively state in unicode format. see joel's article, mentioned above.

  • you're going using resource files lot project. that's - asp.net 2.0 has great support such. you'll want app_localresources , app_globalresources folder getlocalresourceobject, getglobalresourceobject, , concept of meta:resourcekey. chapter 30 of professional asp.net 2.0 has great content regarding that. 3.5 version of book may have content there well, don't own it.

  • think fonts. many of standard fonts might want use aren't unicode capable. i've had luck arial unicode ms, ms gothic, ms mincho. i'm not sure how cross-platform these are, though. also, note not fonts support of unicode character definition. again, test, test, test.

  • start thinking how you're going translations system. go talk whoever translation vendor how want data passed , forth translation. think fact that, through local resource files, repeating commonly used strings through system. normalize global resource files, or have sort of database layer 1 copy of each text used generated. in our recent project, used resource files generated database table contained translations , original, english version of resource files.

  • test. speaking test in german, polish, , asian language (japanese, chinese, korean). german , polish wordy , guaranteed stretch text areas, asian languages use entirely different set of characters tests unicode support.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -