Tuesday, September 11, 2012

Mono Android App Localization (part 2)

The process of app localization in any platform is exacting. Many programmers who don't have the discipline to do the job from the very beginning run into problems when the application has some strings localized and some in hard-coded characters that were put in hastily.

Android applications have a great localization scheme but some disadvantages. Here are some tips that I have learned while creating a multi-platform application. I am using MonoDroid and MonoTouch for my development

#1 Localization strings must be kept organized. Ensure that you organize the strings by activity and label the sections with <!-- XML style comments -->

#2 Do not rely on the [Activity(Label = "MyActivity")] attributes. Remove them all and explicitly set the label for the root layout element in the layout files using localized strings.


No comments: