Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
The translation files are now hosted and managed on [Transifex|https://www.transifex.net/projects/p/weasis/] website. Get an account at [Transifex|https://www.transifex.net/accounts/signin/?next=/home/] and help translating to your language\! If your language is missing, just head over to Transifex and request a new language. {note:title=Be careful with text length} The translations for many languages frequently exceed the length of the corresponding English source. It is a problem for ui components like buttons. {note} Some characters representing values (%d, %s) or new line (\n) must not be translated. For other translating recommendations, see [Transifex help|http://help.transifex.net/intro/translating.html#translating]. {html} <TABLE><TBODY><TR><TH><A href="https://www.transifex.net/projects/p/weasis/resource/weasis-core-api-i18n/" mce_
Wiki Markup
Style

.panel {-moz-border-radius: 7px;
border-radius: 7px;}
.panelMacro table {-moz-border-radius: 15px;
border-radius: 15px;}
Panel
borderColor2

The translation files are now hosted and managed on Transifex website. Get an account at Transifex and help translating to your language! If your language is missing, just head over to Transifex and request a new language.

Note
titleText length

The translations for many languages frequently exceed the length of the corresponding English source. It could be a problem for the layout of graphical components (e.g. buttons).

Tip
titleSpecial characters

Some characters representing values (%d, %s) or new line (\n) must not be translated. For other translating recommendations, see Transifex help.

Section
Column
Wiki Markup

{html}
<a target="_blank" style="text-decoration:none; color:black; font-size:66%" href="https://www.transifex.
net
com/projects/p/weasis/resource/weasis-core-api-i18n/" 
mce_style="text-decoration:none;

color:black; font-size:66%" style="text-decoration: none; color: black; font-size: 66%;" target="_blank"
title="See more information on Transifex.
net
com">Top translations: weasis » weasis-core-api-i18n</
A></TH><TH><A href
a><br/>
<img border="0" src="https://www.transifex.
net
com/projects/p/weasis/resource/weasis-core-
ui
api-i18n/chart/image_png"
mce_
/><br/><a target="_blank" href="https://www.transifex.
net
com/projects/p/weasis
/resource/weasis-core-ui-i18n/" mce_style="text-decoration:none; color:black; font-size:66%
/"><img border="0" src="https://ds0k0en9abmn1.cloudfront.net/static/charts/images/tx-logo-micro.646b0065fce6.png"/></a>
{html}
Column
Wiki Markup

{html}
<a target="_blank" style="text-decoration:
none; color:
black; font-size:
66%
;
" 
target
href=
"_blank
"
title="See more information on Transifex.net">Top translations: weasis » weasis-core-ui-i18n</A></TH><TH></TH></TR><TR><TD><IMG border="0" mce_src="
https://www.transifex.
net
com/projects/p/weasis/resource/weasis-core-
api
ui-i18n/
chart/image_png
" 
src="https://www.transifex.net/projects/p/weasis/resource/

title="See more information on Transifex.com">Top translations: weasis » weasis-core-
api
ui-
i18n
i18n</
chart/image_png"></IMG></TD><TD><IMG
a><br/>
<img border="0" 
mce_
src="https://www.transifex.
net
com/projects/p/weasis/resource/weasis-core-ui-i18n/chart/image_png
" src=
"
https:
/
/www.transifex.net/projects/p/weasis/resource/weasis-core-ui-i18n/chart/image_png"></IMG></TD><TD></TD></TR><TR><TD><A href="https://www.transifex.net/projects/p/weasis/" mce_
><br/><a target="_blank" href="https://www.transifex.
net
com/projects/p/weasis/"
target="_blank"><IMG
><img border="0" 
mce_
src="https://
sw
ds0k0en9abmn1.
transifex
cloudfront.net
/19
/static/charts/images/tx-logo-micro.
png" src="https://sw.transifex.net/19/static/charts/images/tx-logo-micro.png"></IMG></A><BR></BR><BR></BR></TD><TD><BR mce_bogus="1"></BR><BR></BR></TD><TD><BR mce_bogus="1"></BR><BR></BR></TD></TR></TBODY></TABLE>
646b0065fce6.png"/></a>
{html}
h2.

Building

...

Weasis-i18n

...

Panel
borderColor2

weasis-i18n

]

is

the

internationalization

project

of

[

Weasis

|https://github

.

com/nroduit/Weasis].

As

a

separate

project,

it

can

have

its

own

release

cycle.

The

fragments

of

plug-ins

(

[

OSGI

concept

|http://www.osgi.org/About/WhatIsOSGi]

)

contain

only

the

translation

files

which

are

merged

during

runtime

to

the

application.

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

timestamp

number

has

changed.

This

timestamp

is

set

during

the

build

phase

described

below.

h4. Prerequisites # JDK 6 or higher ([Sun|http://java.sun.com/javase/downloads] or [OpenJDK|http://openjdk.org/install]) # Maven 2.2 or higher ([http://maven.apache.org/guides/index.html|

Prerequisites

  1. JDK 6 or higher (Sun or OpenJDK)
  2. Maven 2.2 or higher (http://maven.apache.org/guides/index.html

...

  1. )

...

  1. Note

...

  1. If

...

  1. your

...

  1. computer

...

  1. is

...

  1. behind

...

  1. a

...

  1. proxy

...

  1. server,

...

  1. configure

...

  1. maven

...

  1. .

  2. Git (or directly download source from gitub), one of the following client:
    • CLI on Linux or Mac OS X -  Install git-core package
    • Windows - Tortoise Git - (When installing msysgit be sure to choose Unix style line endings)
    • Eclipse - Install egit

Getting the Source

To clone the repository, first install GIT and either clone using a graphical GIT client (such as Tortoise Git) or directly from the command line using the command:

Code Block
none
none
git clone git://github.com/nroduit/weasis-i18n.git
{code}

This

...

command

...

will

...

copy

...

the

...

current

...

development

...

code

...

(the

...

"master"

...

branch)

...

into

...

a

...

local

...

directory

...

named

...

weasis-i18n

...

.

...


Note:

...

Sources

...

can

...

also

...

be

...

browsed

...

online

...

or

...

download

...

as

...

a

...

zip

...

file

...

.

Build the distribution

  • Go in the weasis-i18n directory, Compile and install all the plug-ins in the local Maven repository
Code Block
none
none
mvn clean install -Dtransifex.credential="username:password"
{code}
{info}
All of the API calls on [Transifex|https://www.transifex.net/projects/p/weasis/] require the user to be authenticated. So the value 
Info

All of the API calls on Transifex require the user to be authenticated. So the value "username:password"

must

be

replaced

by

your

credential,

see

how

to

[

create

an

account

|https://www.transifex.net/accounts/signin/?next=/home/]. {info} The distribution files are located in the _

.

The distribution files are located in the weasis-i18n-dist/target/dist

...

folder.

...

weasis-i18n.war

...

must

...

be

...

placed

...

in

...

the

...

same

...

base

...

context

...

as

...

weasis.war

...

(if in other web context, the value of the property weasis.i18n in JNLP file must be adapted).

To update translation packs in weasis-portable, unzip weasis-i18n.zip and replace files in weasis-portable/weasis/bundle-i18n/.

...

Note:

...

weasis-launcher-i18n

...

cannot not be updated dynamically. It must be imported in the Weasis source (weasis-launcher).