Hi,
in the Swing client there is some extension, that allows to update literals from the server side:
1. implement (server) interface IClientLiteralServerLoader
Code:
public interface IClientLiteralServerLoader
{
/**
* @param language
* Client language.
*
* @param country
* Client country.
*
* @param request
* The request that was triggered from client side in order to read
* the literals and which is the enviornment in which this method call
* is executed. By accessing the request you may access e.g. the server
* side session information.
*
* @return
*/
List<LiteralInfo> loadLiteralInfos(String language, String country, HttpServletRequest request);
}
2. register the class of your implementation in system.xml:
Code:
...
<clientliteralserverloader name="YOURCLASSNAME"/>
...
Please note that this processing is not supported in other clients. For the RISC-client it is much easier, because you can directly insert the corresponding JavaScript definitions. Check here the "Developer's Guide - RISC Addons", chapter "Multi Language / Internationalization" (http://www.captaincasa.com/pdf/eclnt_risc_developersguide_addon.pdf)
(And of course you can go the way as well, to add own language property files to the Swing jars.)
Regards, Björn