Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

how to create localizable property


1 reply to this topic

agustina_s

agustina_s
  • Members
  • 31 posts

Posted 21 March 2005 - 11:36

Hi..

How to create localizable property?

I have a string named DIRECTX_1 in the string tables.
It contains :"DirectX installation failed." in 10 different languages.

Now I want to show this string using message box from custom action.

However, everytime, the message box only show the message in English (my default language). What could be the problem?

This is how I create the property:
1.In Behaviour and Logic ,Property Manager I create New Localizable Property
Property name: DirectXString
2.I click the elipsis and then select the value to be DIRECTX_1 in the string table
3.Then I save it.

In the custom action, after SetupInitialization I call the custom action to pop up a message box
MsgBox Session.Property("DirectXString"),0+VBCritical,"Test"

Everytime the message box always gives me "DirectX installation failed" no matter what language I choose.

How to create localizable property such that I can show a different string in different language based on user language selection?

Thank you


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 March 2005 - 17:42

Sorry for asking the obvious: do you display the language selection dialog? did you select a language other than English? Are all of your other dialog strings displayed in the correct language?