Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to handle multilanguage support?

I've been searching on SO on how to do i18n support on my little application...

I know that Microsoft offers 'culture' classes, but you have to re-compile your application to include any new string you add. So, all I'm trying to do is to put all my strings in a external file and offers users the choice to translate the app without the need to recompile.

Is there an easy way to handle this ? Use XML, or INI-like ? any Tutorial available ? P.S: Trying to do this on C#... Don't bother if other languages

like image 705
Black Horus Avatar asked Dec 09 '25 13:12

Black Horus


1 Answers

Here is a nice blog post from Scott Hanselman which contains several good resources: http://www.hanselman.com/blog/ASPNETInternationalizationGlobalizationAndLocalizationWhew.aspx

Generally speaking I can say that you will want to keep your resources external to your binaries (using something like a .resource file), which will allow you to add/edit resources without a recompile. I've not done much myself, so I'm a bit rusty on the whole thing.

Hope this is helpful.

like image 182
ckramer Avatar answered Dec 11 '25 02:12

ckramer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!