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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Language Drop-Down
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
‎Nov 06, 2009
05:16 AM
Language Drop-Down
How can use the Language Drop-Down used on the splash screen on another panel?
(10) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
05:39 AM
Sorry for asking, but what would be the case where the end-user would want to change the language once the installer has already started?!?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
05:48 AM
I am sorry, I should have explained it better. 😞
I am installing two different apps. AppA is used to configure and launch AppB.
AppA can be installed only in one language and AppB can be installed with many languages.
I need a dynamic drop-down list of languages exactly same as Installer Language list to select language of the AppA.
Also, a multi-select language list or group of checkboxes with same languages as the installer in to select languages for AppB.
I hope that's better explained.
Thanks
I am installing two different apps. AppA is used to configure and launch AppB.
AppA can be installed only in one language and AppB can be installed with many languages.
I need a dynamic drop-down list of languages exactly same as Installer Language list to select language of the AppA.
Also, a multi-select language list or group of checkboxes with same languages as the installer in to select languages for AppB.
I hope that's better explained.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
06:06 AM
Well if AppB has a standalone setup, all you need to do is to have AppB installed in a temp location and launch the AppB setup which will have the drop-down menu.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
06:12 AM
Both applications are installed with the same setup. I am thinking of having one panel to choose the language for AppA and then another panel to choose languages for AppB.
I am trying to write a custom action to give me a Drop-down with languages of the installer. How can I get a list of languages available to setup.
I am trying to write a custom action to give me a Drop-down with languages of the installer. How can I get a list of languages available to setup.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
06:18 AM
What you can do is to have the main setup display directly the language choices directly for AppB and as the first screen explain that the choice doesn't apply to AppA, but to AppB.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
06:24 AM
hi Rojani,
you can create custom dialog to select the language.
thanks
madhu
you can create custom dialog to select the language.
thanks
madhu
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
07:54 AM
sandeep.madhu14 wrote:
hi Rojani,
you can create custom dialog to select the language.
thanks
madhu
I am trying to do that right now but it is proven to be difficult.
Where can I get the Custom code API?
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
08:52 AM
Well you've got the IAClasses.zip at the root of the IA installation dir. You can check the javadoc folder for Documentation. But personally the only thing related to language that I could find is a method called:
getWebpageLanguage
String getWebpageLanguage()
Returns the web page display language.
Returns:
Web page display language
See Also:
isWebEnabled()
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
10:29 AM
I have folllowing code but the panel doesn't show.
Any Ideas?
[CODE]import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import com.zerog.ia.api.pub.CustomCodePanel;
import com.zerog.ia.api.pub.CustomCodePanelProxy;
public class ChooseLanguagePanel extends CustomCodePanel {
public boolean setupUI(CustomCodePanelProxy customCodePanelProxy) {
this.setSize(new Dimension(461, 300));
setLayout(new GridBagLayout());
GridBagConstraints c = new GridBagConstraints();
// String myString = customCodePanelProxy.getValue( "myKey" );
c.gridx = 0;
c.gridy = 0;
this.add(new JLabel("Show Lang : "+ChooseLanguagePanel.getSerializableProperties()),c);
return true;
}
public String getTitle() {
return "Some Title";
}
public static String[] getSerializableProperties() {
return (new String[] { "locales" });
}
}[/CODE]
Found the issue: In the customCode.properties file I had "action" for the "plugin.type". Setting it to "panel" shows the panel
Any Ideas?
[CODE]import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import com.zerog.ia.api.pub.CustomCodePanel;
import com.zerog.ia.api.pub.CustomCodePanelProxy;
public class ChooseLanguagePanel extends CustomCodePanel {
public boolean setupUI(CustomCodePanelProxy customCodePanelProxy) {
this.setSize(new Dimension(461, 300));
setLayout(new GridBagLayout());
GridBagConstraints c = new GridBagConstraints();
// String myString = customCodePanelProxy.getValue( "myKey" );
c.gridx = 0;
c.gridy = 0;
this.add(new JLabel("Show Lang : "+ChooseLanguagePanel.getSerializableProperties()),c);
return true;
}
public String getTitle() {
return "Some Title";
}
public static String[] getSerializableProperties() {
return (new String[] { "locales" });
}
}[/CODE]
Found the issue: In the customCode.properties file I had "action" for the "plugin.type". Setting it to "panel" shows the panel
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
12:08 PM
How can I get the language objects, which looks to be "localesToBuild" from the project file?
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)