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.