I created a few addins and now i want to make these multilanguage enabled, but i don't know how to get the Culture that is selected in the RTC Client. I thought Application.CurrentCulture would give me the currently selected (language but unfortunatly it doesn't.
Any ideas? :?:
0
Comments
When you select the language from the client, for any CaptionML you have the language defined, it will display the langauage selected.
Regards,
Vasilis Chralambous
Is there any way i can access tha culure/language info from the addin / c# area?
These Addins are Form Elements that include directly in a page object. The Source Application in which these are called is the RTC Client, this was why i thought i could use the c# statement Application.CurrentCulture to get the selected Language of the Client itself. Unfortunatly the Current culture is not changed when changing the rtc client language. i just need the currently used language code (ex. "de-CH")
And yes i know that i could send the language code to my addin from C/AL Code but it would be nice if it's possible without that.
I cannot help you further.
for sure you cannot use c# code in navision code, as you said you can pass the language code to the addin.
regards,
vasilis
This gets the selected UICulture in the RTC Client. So there is no need of passing the language code from C/AL to the addin.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!