cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
sajith
Flexera beginner

Not able to read a key from external resource Bundle in project file

Hi Experts,

I just started working with IA few days back.

I am looking for help in reading a key from external resource bundles. I have defined external resource bundles as follows:

<property name="externalResourceBundles">
  <object class="java.util.Vector">
 <method name="addElement">
<object class="com.zerog.ia.installer.util.ExternalResourceBundle" objectID="4f263018a577">
<property name="bundleName">
<string><![CDATA[custom]]></string>
</property>
<property name="resourcePath">
<string><![CDATA[$IA_PROJECT_DIR$\i18n\custom_en.properties]]></string>
</property>
</object>
</method>
<method name="addElement">
<object class="com.zerog.ia.installer.util.ExternalResourceBundle" objectID="52c45c7ba646">
<property name="bundleName">
<string><![CDATA[custom]]></string>
</property>
<property name="resourcePath">
<string><![CDATA[$IA_PROJECT_DIR$\i18n\custom_fr.properties]]></string>
</property>
</object>
</method>
</object>
</property>

In the same project file, I have entries like below to display strings:

<property name="bundlesTitle">
<string><![CDATA[Choose Install Set]]></string>
</property>

which I would like to read from external resource bundles for I18N support.

My resource bundle custom_en.properties file contains key as below (so as resource bundles for other locales)

ChooseInstallSetAction.ba0ea906bcf1.bundlesTitle=Choose Install Set

 

What is the right way to use the key from resource bundle so that multiple locales can be supported.

The product documentation doesn't seems to be helping much.

0 Kudos