This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Language according provided culture

Hi

I try to get the translation from within a script by using the #LD-Notation. I've the key in the DialogMultilanguage set as: "my test to translate"

Now I tried the following to get the Italian translation of the above mentioned key:
(according the documentation: http://docadmin.quest.com/identity-manager/7.1.1/configuration-guide/the-scripts-one-identity-manager/using-ld-notation/example-for-specifying-language)

Dim lang As String = "italiano"

Value = #LD[lang]("my test to translate")#

However as a result I always receive the key itself "my test to translate" and not the translated text. I tried the provided culture as:

- italiano
- it-CH
- italian

but non of them worked (also tried for different languages like French). I know that normally the square bracket is optional but in my case I need them.

I also tried with the method:
Value = LanguageDependentEx(lang, "DialogMultiLanguage", "EntryValue", "my test to translate")

but also this without success.

I'm on OneIdentity Manager version 7.1.1.

Do I miss something?

Thanks for your help

regards,
Rolf

 

Parents
  • Hi Rolf

    I have checked the function in 6.1.3 and there it works fine:

    In Version 7.1.1 the function also returns an EntryValue from DialogMultiLanguage, but in every case I have got the value for the culture en-US what is the default culture in the function LanguageDependentEx() for cases if an error occurs or the culture have not submitted/is empty.

    My suggestion for you is to get in touch with the support by opening a SR. In my opinion it seems to me that there is a problem with the function LanguageDependentEx() in Version 7.1.1 (could be that it is fixed in Version 7.1.2 - I don't know).

    -
    Regards
    Sven

Reply
  • Hi Rolf

    I have checked the function in 6.1.3 and there it works fine:

    In Version 7.1.1 the function also returns an EntryValue from DialogMultiLanguage, but in every case I have got the value for the culture en-US what is the default culture in the function LanguageDependentEx() for cases if an error occurs or the culture have not submitted/is empty.

    My suggestion for you is to get in touch with the support by opening a SR. In my opinion it seems to me that there is a problem with the function LanguageDependentEx() in Version 7.1.1 (could be that it is fixed in Version 7.1.2 - I don't know).

    -
    Regards
    Sven

Children
No Data