Welcome! and rules
Joel on Software
Multiple language support
I'm going to start working on a shrinkwrap software project soon, and one of the features I would like is support for multiple languages.
Using ASP, I would have put all the strings the users see in a seperate file, and then allowed those to be changed for different languages.
But with ASPX I can't do that because (AFAIK) I can't use info in one .aspx in another, so I'll have to use DLL's or code behind or something. Problem is, I want my users to be able to change all the text... so I was thinking to store the text in an XML file.
But I don't like XML, because I find it slow... I don't want to have to load and parse an XML file every time I want to say a two word sentence to the user.
I guess the only other idea I have is to use a database... but that could take up lots of room...
Wants to be an ISV
Sunday, April 4, 2004
Using XML doesn't mean you have to parse the file everytime.
Read it once at startup and cache the result, it's not like you'll be changing it once your app is finished.
Monday, April 5, 2004
Another thing you may want to look at is what the mono guys are doing with gettext.
It's a good i18n solution
Tuesday, April 6, 2004
Fog Creek Home