You need to sign in to do that
Don't have an account?
Shin
i18n in S-Control
We, multi-byte language users, are always worrying about SControl-based AppX apps which are only written in English and requires enourmous amount of time to translate them to local language. Native apps, on the other hand, is a bit easier because all resources are separated in metadata.
Are there any best-practices for making SControl apps with i18n? If you don't have right now, let's consider how they should be like? I hope some knowledgable guys in this area would return some comments...
Are there any best-practices for making SControl apps with i18n? If you don't have right now, let's consider how they should be like? I hope some knowledgable guys in this area would return some comments...
1. I18N resources are separated in JSON format, like this
Code:
2. When S-Control is loaded, automatically gets current user language via getUserInfo()
Code:
3. Define getResource() function to retrieve i18n message resource :
Code:
4. Use getResource() function when message is needed in S-Control.