Last Updated: February 25, 2016
·
2.118K
· pulkit110

Managing multiple languages with Appcelerator Titanium

Titanium provides a number of JavaScript functions in the Titanium.Locale namespace for use in localization. You can even internationalize the name of your app itself. Titanium also allows you to define internationalization files and automatically chooses the correct one based on device locale settings. But what if you want to allow the user to choose the language for the app from within the application settings? To provide this functionality in an app built with Titanium, we would need to override the function L() that Titanium uses to retrieve localized strings from one of the XML files.

Read the full solution here.

Have a fresh tip? Share with Coderwall community!

Post
Post a tip