Last post Dec 20, 2007 02:36 PM by vivek_iit
Dec 18, 2007 04:56 PM|bullines|LINK
I'm interested in extending what's available in the .NET framework with regards to globalization and localization. I've read many articles that discuss extending so that a datasource other than RESX files (Ex: database) can be used, such as this one:
Most of these articles use the same idea of key-value pairs - just a different datasource. I was wondering if anyone could provide some insight as to whether it's possible to extend what .NET offers such that content can come from, say, XML files. And not
in the key-value sense, but more along the lines of XPath or XQuery? If this is possible, where might there be some good resources targeting .NET 3.5 to help get started? Thanks in advance.
Dec 20, 2007 02:36 PM|vivek_iit|LINK
I think you will need to create your own localization framework to support this, what you can do is to write custom methods instead of standard getResourceObject() etc. where you can plug in your own coding to fetch the data from XMl file using XPath.
Hope this helps,