OpsAdminI18n

Introduction

OPS Admin is currently available in Dutch and in English. Thant is, the user interface will be in Dutch or in English depending on the user's browser settings, while the reports will show euro's and commas (€ 3,50) or dollars and periods ($ 3.50) depending on locale settings specified in the WEB-INF/localConfig.xml file.

File structure

Interface

The local files for the interface are found in src/main/resources/org/openprojectservices/opsadmin/wicket where the filenames follow the standard i18n naming convention (which wicket complies with):
  • OpsAdminPage.properties - english
  • OpsAdminPage_nl.properties - dutch

Report

Report locale is specified in two places in src/main/webapp/WEB-INF/xsl/locale
  • decimal-formats.xsl - contains the decimal format (decimal separator) per locale
  • locale files in the locales directory, listing decimale pattern, currency and so on:
    • en_US.xml
    • nl_NL.xml

-- IvanaCace - 24 Dec 2008

Topic revision: r1 - 24 Dec 2008 - 16:00:58 - IvanaCace

tip TWiki Tip of the Day
Inline search
To embed a search in a topic, use the % nop SEARCH{ parameters }% TWiki Variable. The search variable ... Read on Read more

 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback