cancel
Showing results for 
Search instead for 
Did you mean: 

Internatalisation in my webproject

joshna
Champ in-the-making
Champ in-the-making
Hi All,

Is there any way to achieve internationalization in my web project.If so help me out..




Thanks & Regards,
Joshna
1 REPLY 1

brian_robinson
Champ in-the-making
Champ in-the-making
Hi Joshna,

I18N can be achieved by utilizing message bundles.  As an example, to internationalize a WCM web form, you would specify the key as part of the annotation on a property, then define the values for those keys in a strings.properties file or webclient.properties file.


<xs:element name="StringProperty" type="xs:string">
  <xs:annotation>
    <xs:appinfo>
      <alf:label>${label.message-bundle.key}</alf:label>
      <alf:alert>${alert.message-bundle.key}</alf:alert>
    </xs:appinfo>
  </xs:annotation>
</xs:element>

Message bundle keys are resolved from the following files, in order:
Company Home > Data Dictionary > Web Forms > [form name] > strings.properties
Company Home > Data Dictionary > Web Forms > strings.properties
classpath:/webclient.properties

Thanks,
-Brian
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.