Suppose we are going to support for the japanese language and the camera permission. Here is the sample example.
//tiapp.xml
<ti:app> <ios> <plist> <dict> <key>NSCameraUsageDescription</key>
<string>Can we use your camera?</string>
</dict> </plist> </ios></ti:app>
//i18n/ja/app.xml
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<string name="NSCameraUsageDescription">あなたのカメラは使えますか?</string>
</resources>
Now if you change your device language to the japanese language then you will see the effect.
Hope this helps.
No comments:
Post a Comment