This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Found something but it does not work
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 10, 2006
02:40 PM
Changing locale programmaticaly for $L()
How to you change programmaticaly the locale used by the $L() macro ? Because using several language works in String Table.MyStrings.
I don't have the Premier version, so there is no language support in the Release menu. However, I am planning to add a Dialog with a radio button for French and English.
Thanks.
I don't have the Premier version, so there is no language support in the Release menu. However, I am planning to add a Dialog with a radio button for French and English.
Thanks.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 10, 2006
04:00 PM
public void checkedbtnEnglish( ISControlContext arg0)
{
Locale.setDefault(Locale.CANADA);
WizardServices wServices = arg0.getServices();
String str = wServices.resolveString("$L(MyStrings,strOracleVersion)");
JOptionPane.showConfirmDialog(null,str);
}
Is there a locale resolver to setup in arg0, or the "services" ?
{
Locale.setDefault(Locale.CANADA);
WizardServices wServices = arg0.getServices();
String str = wServices.resolveString("$L(MyStrings,strOracleVersion)");
JOptionPane.showConfirmDialog(null,str);
}
Is there a locale resolver to setup in arg0, or the "services" ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 10, 2006
04:17 PM
Locale.setDefault(Locale.FRENCH);
instead of
Locale.setDefault(Locale.CANADA);
instead of
Locale.setDefault(Locale.CANADA);