Build Engine: How to set the Build Engine language
How can I set the language of a build engine?
My Team Concert Eclipse Client runs in english (I use the -nl en_US switch in my short cut), my Windows is English, too but I use the German localization.
But when I start a build engine (in this case the ClearCase Synchronization engine) this engine runs in German language and all logs are in German, too.
I've tried to modify the ccc.ini with
-nl en
in one and in two lines without success:
My Team Concert Eclipse Client runs in english (I use the -nl en_US switch in my short cut), my Windows is English, too but I use the German localization.
But when I start a build engine (in this case the ClearCase Synchronization engine) this engine runs in German language and all logs are in German, too.
I've tried to modify the ccc.ini with
-vm
C:\Program Files (x86)\IBM\ClearCaseSynchronizer/jdk/jre/bin
--launcher.suppressErrors
-data
@noDefault
-nl en
-vmargs
-Xmx512m
-Xshareclasses
-Xquickstart
-Dosgi.requiredJavaVersion=1.5
4 answers
One has to add parameters of the form:
-Duser.language=xxx -Duser.country=yyy
to the synchronizer.bat file for that sync stream. That file can be found in the directory identified in the STREAM_SCRIPT_DIR property of the sync stream.
Warning: the synchronizer.bat file gets rewritten when the synchronization engine is invoked from the GUI, so you will want to invoke the synchronization engine from the command line (or in a machine startup script).
It would be better if these were sync stream properties, and the property value be used when the synchronizer.bat files is generated. I've submitted Add a "language" sync stream property, and have it set the language of the synchronization engine (253114) with that enhancement request.
-Duser.language=xxx -Duser.country=yyy
to the synchronizer.bat file for that sync stream. That file can be found in the directory identified in the STREAM_SCRIPT_DIR property of the sync stream.
Warning: the synchronizer.bat file gets rewritten when the synchronization engine is invoked from the GUI, so you will want to invoke the synchronization engine from the command line (or in a machine startup script).
It would be better if these were sync stream properties, and the property value be used when the synchronizer.bat files is generated. I've submitted Add a "language" sync stream property, and have it set the language of the synchronization engine (253114) with that enhancement request.
Hi HaJo,
for all eclipse based tools, you can also use a parameter to set the language and avoid having to set the region and language as above.
if you add -Duser.language=en to the RTC eclipse.ini, the jbe.ini and other.ini's such as the scm.ini and probably in the ini above as well.
You can add it as a parameter in the server.startup as well.
In addition, the browser language is very important. You want to use the quick locale switcher in Firefox, because the preferred browser language impacts the language the server will show too.
for all eclipse based tools, you can also use a parameter to set the language and avoid having to set the region and language as above.
if you add -Duser.language=en to the RTC eclipse.ini, the jbe.ini and other.ini's such as the scm.ini and probably in the ini above as well.
You can add it as a parameter in the server.startup as well.
In addition, the browser language is very important. You want to use the quick locale switcher in Firefox, because the preferred browser language impacts the language the server will show too.
Thanks Ralph,
In the installation directory of the synchronizer I found 3 ini files and only one shows a matching syntax. Edited this, but that does not change anything.
if you add -Duser.language=en to the RTC eclipse.ini, the jbe.ini and other.ini's such as the scm.ini and probably in the ini above as wellcould you please be a bit more specific, which ini is used by the synchronization engine. My eclipse client is running in english (although it is not used when starting the sync engine) and for the synchronization engine I don't need the browser. The server runs also in english language.
In the installation directory of the synchronizer I found 3 ini files and only one shows a matching syntax. Edited this, but that does not change anything.