It’s not a long book, about 110 pages. It provide the basic information you would need to localize your app for other languages and countries. It’s written for the Xamarin developer, but the topics apply to other developers.
After discussing the basics of localization, the book covers how to get your text translated. There is a chapter that covers the Multilingual App Toolkit (aka MAT), which is Visual Studio extension that is a workflow management tool for language resource files.
If you are using Xamarin.Android and Xamarin.iOS to build your apps, you can use MAT to generate Android and iOS string resource files.
Besides translating the text that is compiled into the app, I spend time discussing how to manage language resources coming from web services. Once again, the MAT is handy for managing language resources server side.
There is a chapter that builds a Xamarin.Forms app from scratch and then localizes it for the Chinese, Spanish, and German languages. For the German translations, I was helped out by one of my co-workers, David Krings. David is a native German speaker with technical writing experience.
When translating language resources, a fellow co-worker is one of the best resources. Besides knowing the language, that person will know the domain of the app. Context is very important with language translation.
Consider a string resource of “boot” in English and you need to translate it to the Polish language. You need to know which meaning of “boot” to translate. In US English, it means a type of footware and it could be translated as “kalosze”. It could also mean to start up a process, which could translate to “rozruchu”. In UK English, it’s the part of the car where you store things, that translates more or less as “bagażnika”. Without the context, it’s easy to get the wrong translation.
For the Chinese and Spanish translations, I used a commercial translation company called SmartCAT. Two of their translators, Max Diaz and Максим Морковкин, did the Spanish and Chinese translations. I like how that SmartCAT works and recommend it to anyone that needs translation services performed. SmartCAT’s Head of Community, Vova Zakharov, arranged for the translation services and at the last too.
When you have your app translated, you will need to have done by someone with the language expertise. Machine translation has come a long way, but it’s better to do it right.
Besides language translation, the book covers how to deal with numbers, dates, currency, and other country/regional formatting. The nice thing about using the .NET Framework is that most of the heavy lifting is done for you. You don’t have to worry about how to handle it with one OS and then figure it out for another OS.
The source code for the book is up on Github. You can access it from Apress/cross-platform-localization-xamarin. You will want to download or clone the repo to follow along with the book.
And while I’m thanking people, I wanted to give a shout out to the technical reviewers. Craig Dunn is part of the Xamarin team that is now part of the Microsoft team. He made this book much, much better. Cameron Lerum created the Multilingual App Toolkit, which made most of this book possible. Between the subject expertise and technical writing skills, I could not have had any better reviewers for this book.