cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
3X-Man
Level 6

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.
Labels (1)
0 Kudos
(2) Replies
Wade_Fode
Level 2

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]

bbp


$IA_PROJECT_DIR$<B><font color="Red">/</font></B>resources<B><font color="Red">/</font></B>bbp_en.properties

[/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.
0 Kudos
3X-Man
Level 6

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.
0 Kudos