Quick question on internationalization of a site... do you guys here prefer to use Resource files or XML? Is there any limitations or advanatages to either? I was contemplating using XML files to pull my values from... but not sure it's the best choice. Thanks.
<div>I strongly recommend you read this excellent series of articles (Asp.Net 1.x and 2.0 alike) for a good primer on Localization:</div> <div> Creating Multilingual Websites</div>
I was contemplating using XML files to pull my values from...
Resx is XML.
Resx is much more. It is design time or PRE-JIT xml abstraction.
At runtime it is turned into .resources and satellite assemblies anyway.
Just reading XML you would have to face some scalability decisions. System files do not scale well. Storing the xml in a db is a huge undertaking. There could be some cache solutions.
Before you dive right into re-inventing the wheel, you might want to spend an afternoon reading this thread:
Member
1 Points
11 Posts
Localization... resources files or XML?
Dec 01, 2005 02:11 PM|SuperChimp|LINK
Member
66 Points
2458 Posts
Re: Localization... resources files or XML?
Dec 01, 2005 08:12 PM|adec|LINK
Creating Multilingual Websites</div>
Andre Colbiornsen
Member
22 Points
700 Posts
Re: Localization... resources files or XML?
Dec 02, 2005 08:12 AM|rmprimo|LINK
Resx is XML.
Resx is much more. It is design time or PRE-JIT xml abstraction.
At runtime it is turned into .resources and satellite assemblies anyway.
Just reading XML you would have to face some scalability decisions. System files do not scale well. Storing the xml in a db is a huge undertaking. There could be some cache solutions.
Before you dive right into re-inventing the wheel, you might want to spend an afternoon reading this thread:
http://forums.asp.net/688906/ShowPost.aspx
HTH!
Rob