An example of how to localize an app and access localized strings from JavaScript