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: How external resource bundle (i18n) works?
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
‎Mar 26, 2009
07:28 AM
How external resource bundle (i18n) works?
hi,
I want to use External Resource Bundle to localize the installer.
From the Help of IA I understood I have to have a file
_.properties. I have one file: test_en.properties
The content is mytext=Some text
The file in the project root.
I've added in the EDI Project->Locale
For Bundle name I've set test
For the Resource bundle path the result after setting is: $IA_PROJECT_DIR$\test_en.properties
I've created a Show Message with message: $L{test.mytext}
.. but the dialog message is empty.
What is wrong here?
Thanks,
X.
I want to use External Resource Bundle to localize the installer.
From the Help of IA I understood I have to have a file
The content is mytext=Some text
The file in the project root.
I've added in the EDI Project->Locale
For Bundle name I've set test
For the Resource bundle path the result after setting is: $IA_PROJECT_DIR$\test_en.properties
I've created a Show Message with message: $L{test.mytext}
.. but the dialog message is empty.
What is wrong here?
Thanks,
X.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 14, 2009
11:06 AM
I ran into a similar problem myself and was able to resolve it by editing my IA project file (xxx.iap_xml) using a text editor to change the type of filepath characters ( '\' vs. '/') used to identify the path to my resource bundle - see code below.
[CODE][/CODE]
The problem prevented my resource bundle from being built (on a Linux system) into my installer, so the bundle was unavailable at time of installation on Windows. My switch to use Unix-type separators in the project file fixed it for me.
I don't know if this will resolve your problem but it may be worth a try.
[CODE][/CODE]
The problem prevented my resource bundle from being built (on a Linux system) into my installer, so the bundle was unavailable at time of installation on Windows. My switch to use Unix-type separators in the project file fixed it for me.
I don't know if this will resolve your problem but it may be worth a try.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 15, 2009
04:06 AM
Hi Wade Fode,
I don't know how I fixed it but I have no more issue with my resource bundles, certainly a typo.
IA 2009 has a funny bug on Linux.
I do build on Windows so I had no chance to have this bug of IA.
I have already enough of them indeed... 😉
Thanks.
X.
I don't know how I fixed it but I have no more issue with my resource bundles, certainly a typo.
IA 2009 has a funny bug on Linux.
I do build on Windows so I had no chance to have this bug of IA.
I have already enough of them indeed... 😉
Thanks.
X.