cancel
Showing results for 
Search instead for 
Did you mean: 

Language Preference for my ADD-ON

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi ngmog1,

Thanks for you reply. can you post some sample coding (or) help links.

Thanks ,

Shangai.

Former Member
0 Kudos

Take a look on this

[|]

But I'm already wondering if Is there a way to view in the combobox of User fields valuee of Documents a different description based on the current language?

Answers (0)