Page 1 of 1

Logon Translate

PostPosted: Wed Aug 17, 2011 5:46 pm
by Garantisoft
Hi,

How can I do translate on the default logon screen (File, Help, Exit, Login, welcome, Username, Password, Login) to the another language.

Re: Logon Translate

PostPosted: Wed Aug 17, 2011 6:12 pm
by Support@SIB
Detailed information about translation is available in the following documentation: Multi Language support.

An example for translation usage is available in our Showcase application.

Re: Logon Translate

PostPosted: Thu Aug 18, 2011 12:47 am
by Garantisoft
I mean not all application and I don't want press a button before chagening. I want to translate just first screen.

Re: Logon Translate

PostPosted: Thu Aug 18, 2011 9:38 am
by Support@SIB
JVx supports translation for each component or for component hierarchies. Simply call

Code: Select all
setTranslation(TranslationMap)

as described in the documentation.

If you set the translation for the launcher, it solves common application translation issues. And if you translate only the login texts, it translates only the "login screen". A sample translation file is also included in the documentation!

It is also possible to set the translation ony for the login screen, e.g.

Code: Select all
<application>.getLogin().setTranslation(...)

but you need the translation for the menu too.

The showcase demonstrates only the usage of the translation mechanism, you can check how it is implemented and e.g. set the translation in the constructor of your application.

The complete source code of our showcase is available on our download page. Open the archive and check the sources in the archive file:

Code: Select all
/showcase.war/WEB-INF/lib/showcasesrc.jar

Re: Logon Translate

PostPosted: Thu Aug 18, 2011 11:24 am
by Garantisoft
Thanks a lot.