This page is obsolete, please go to the new Weasis website







Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

weasis-i18n is the internationalization project of weasis-framework. As a separate project, it can have its own release cycle. The fragments of plug-ins (OSGI concept) contain only the translation files.

That means the weasis-i18n.war file can be deployed at any time. The plug-in translation will be updated by Weasis only if the SVN revision number has changed.

Currently supported languages: French, Japanese and Spanish

Building Weasis-i18n

Prerequisites

  1. Subversion (SVN), one of the following client:
    • Subversion - The core system (server, cli client, libs)
    • Subversive - SVN Team Client (Eclipse plugin)
    • TortoiseSVN - Handy SVN client for Windows systems
  2. JDK 6 or higher (Sun or OpenJDK)
  3. Maven 2.2 or higher for building and deploying bundles (http://maven.apache.org/guides/index.html)

Check out the trunk version

svn co http://weasis.repositoryhosting.com/svn_public/weasis_weasis-i18n/trunk weasis-i18n
cd weasis-i18n

Build the distribution

mvn clean package

The distribution files are located in the distribution/target/dist folder.

Before building the distribution, it is required to commit all the modified files. Check if the local files are identical to the SVN repository with the command "svn status -u" and then "mvn clean package". The SVN revision number is used as the qualifier of the plug-in version and helps to know when a i18n plug-in must be downloaded and updated by Weasis.

Building project with Eclipse requires a functional SVN command-line client

Public repository (read only access)

http://weasis.repositoryhosting.com/svn_public/weasis_weasis-i18n

Browse online: https://weasis.repositoryhosting.com/trac/weasis_weasis-i18n/browser

Repository for translators (commit access)

https://weasis.repositoryhosting.com/svn/weasis_weasis-i18n

Commit access requests must be sent to ~nroduit

Subversion configuration

Using Eclipse: see Configure SVN
subversion client on Linux: add to ~./subversion/config: global-ignores = *.classpath *.project *.settings target
Windows: Tortoise SVN, in settings > Subversion, add "*.classpath *.project *.settings target" to Global ignore pattern.

If you do not want to modify the SVN configuration, please do not commit these files: *.classpath *.project and these folders (and contents): *.settings target.

Properties editor

Software for translating: http://attesoro.org

With Eclipse, I recommend to use the properties editor http://propedit.sourceforge.jp. The properties files must be encoded in ISO-8859-1. In Window > Preferences > General > Content Types, select the "Properties File" in Text and enter "ISO-8859-1" in Default Encoding.

References for Java Locale:

Be Careful

To make a translation, be careful of the length of the text (especially for ui components like buttons) and some items have a space at the beginning or at the end.

  • No labels