What is the fastest/better way to localize a .Net Compact Framework application?

It depends. Usually if you just place all your "UI strings" into a resources. Resx you can then generate a different resx for each culture en-GB or en-US or fr-FR for example.

A rough overview can be found here although there are probably better resources to be found on Google. Basically the premise is that the user will set the device to their own culture (for example fr-FR for French) and then when your app loads if there are . Resx files for fr-FR these will be loaded instead.

A couple of issues to be aware of: To manage these strings effectively it's best to wrap them all into a base .dll. This means you need to edit the tool that generates the code. By default it lists the resources as internal and you need these to be public instead.

Otherwise you end up with a number of . Resx files all over the place which is hard to manage. It's all or nothing.So if you want someone to have french text when they set their culture this will modify all items pertaining to the culture including formatting and clock orientation You CANNOT change the culture on WinCE at run-time.

So if you have an app that needs to change cultures (as I once did with a bus application that moved between Ireland and Northern Ireland) then using . Resx is no good at all and you have to roll your own system. The other option is to roll your own localisation.

If you are going to be providing extensive culture specific localisation then consider your formatting of dates, currencies and text comparisons. Read up on the Turkey test to see what kind of things you need to bear in mind.

You can have you app change cultures, you just can't react to to OS changing locales (well that's not totally true eitehr). For example, you can have a way in the app itself to select the language and change the resx you pull from based on that selection. Some day I should blog the details about how I do this (and without mucking with the resx generator tool too!) – ctacke Jun 8 '10 at 22:23.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions