on 03-14-2011 9:37 AM
Hi Experts,
In General settings if we change the language to Chinese then all of the screens and names will change to chinese language right. so same like that for my ADDON is there any possibility to do like that like whenever i change the language settings to chinese then my addon should also change to chinese
Thanks,
Shangai.
You need to manage this yourself, using translated strings for every English string in your addon. You can either store them in the resources of your addon or I have also seen it done using a UDT to hold all translated data.
Then when starting the addon, you can check company.Language and use the appropriate one.
There is also an app event, aet_LanguageChanged that tells you the company language has been changed & after this change you can set for the user.
You can have a global variable that you store the language in so you can keep track of what you need to display, and then when loading any screen or message, get your translated values and display them to the user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.