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
- :
- Localisation of Custom Panel not showing
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
‎Jan 24, 2008
03:06 PM
Localisation of Custom Panel not showing
Hi
I'm trying to localise a custom java panel to the locale selected from with installanywhere.
The following code is called by setupUI
myLabel.setText(arg0.getValue("ChooseInstalDrivePanel.testTextField.label"));
I made a point of adding my key to the custom_en of my project. The text when the panel is run comes up blank (I have hard coded text on the panel that does display).
Any thoughts or point me to documentation would be great.
thanks
Rod
I'm trying to localise a custom java panel to the locale selected from with installanywhere.
The following code is called by setupUI
myLabel.setText(arg0.getValue("ChooseInstalDrivePanel.testTextField.label"));
I made a point of adding my key to the custom_en of my project. The text when the panel is run comes up blank (I have hard coded text on the panel that does display).
Any thoughts or point me to documentation would be great.
thanks
Rod
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 25, 2008
07:24 AM
I figured it out - to a degree. It works if I update custom_en in ..\InstallAnywhere 2008 Enterprise\resource\i18nresources.
Does this mean I should not be updating the locales under the project? This leaves the question. How do I add localise text from custom code at a project level?
At least I can work around it now.
Does this mean I should not be updating the locales under the project? This leaves the question. How do I add localise text from custom code at a project level?
At least I can work around it now.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 25, 2008
08:45 AM
From the manual:
However, _ia must be added to the beginning of each key. For example, if the custom code utilized the key MyCode.foo.flotsam, it would need to be added as _ia.MyCode.foo.flotsam. This modification must be repeated for all custom code localized strings and for each supported locale.
Best Regards,
Yves
However, _ia must be added to the beginning of each key. For example, if the custom code utilized the key MyCode.foo.flotsam, it would need to be added as _ia.MyCode.foo.flotsam. This modification must be repeated for all custom code localized strings and for each supported locale.
Best Regards,
Yves
