Last post Feb 23, 2007 07:29 AM by vivek_iit
Feb 23, 2007 03:56 AM|thtang|LINK
I would like to know the best design to implement multi-language site. Is it feasible to use resource file or,is there any db solution that can help?since i wonder the resource file will have 2 drawbacks, 1 being that its an xml file.. might get formatting
& performance limitation, 2 being that the naming is tedious when you are dealing with the file... plus the interface is user unfriendly.
Feb 23, 2007 07:29 AM|vivek_iit|LINK
Try to use resource files if the content is not very large in size, else use DB. Note that DB hits would hurt performance so try to maximize the use of resource files. The fact that resource files are XML is a not a disadvantage but rather the best option
you could have. Formatting etc should be left to style sheets, only the content should be present (which itself can contain HTMl formatting).
Check out this article for details: http://www.codeproject.com/useritems/localization.asp
Hope this helps,