OmegaT can be run with extra arguments that alter the behaviour of OmegaT or that tell OmegaT what actions to do on startup. To add the arguments, you need to type the startup commands with the arguments on the command line, or you have to alter the script that does that for you. For more information how to start OmegaT, see Installing and Running.
Arguments that alter the behaviour of OmegaT are in fact arguments to the
java virtual machine.
Arguments are added after the initial "java", and before the
"-jar OmegaT.jar" part.
Note that in Windows you can change the OmegaT.l4J.ini file to
reflect your preferences. On Mac OSX, you can change the Info.plist
located in OmegaT.app/Contents/ to do the same.
A list of possible arguments is given below. You can have more information about the arguments by typing java or man java in the terminal window - man is a terminal window command that displays a manual of the selected command. Your system may or may not have a manual for the command java in your language.
User interface language: -Duser.language=XX
Normally, i.e. when OmegaT is launched without any arguments, the
program first detects the language of the user's operating system. If
a user interface in this language is available, OmegaT uses it. So,
if the user's operating system is Russian and OmegaT has been
localized in Russian, OmegaT is displayed with a Russian user
interface, Russian menus, etc. If the language of the user's system
is not available, OmegaT defaults to English. This is the standard
behaviour. java -Duser.language=fr -jar OmegaT.jar |
User country setup: -Duser.country=XX
Next to the language, you can also specify the country, for example CN or TW in case of the Chinese language. To get the correct Instant start guide, you need to specify both the language and the country. This is necessary even if there's only one combination available, like pt_BR in case of Portuguese / Brazil. |
Font antialiasing: -Dswing.aatext=true
This argument effects anti-aliasing of the fonts, thereby improving their appearance. |
Font antialiasing (Java 6 onwards) : -Dawt.useSystemAAFontSettings=XX
Possible values for "XX" are "false", "on", "gasp" and "lcd". Linux users may find that, depending upon the font type and size selected, "on" or "lcd" enhance the appearance of fonts. |
Memory assignment: -XmxZZM
This command assigns more memory to OmegaT. By default, 256 MB are assigned, so there is no advantage in assigning less than this figure. "ZZ" stands for the amount of memory assigned, in megabytes. The command to launch OmegaT with assignment of 1024 MB (1 gigabyte) of memory is therefore: java -Xmx1024M -jar OmegaT.jar |
Proxy server address and port: -Dhttp.proxyHost=<server IP address> -Dhttp.proxyPort=<port number>
This command defines a proxy server, to be able to access the Internet from behind a proxy. java -Dhttp.proxyHost=192.198.1.1 -Dhttp.proxyPort=3128 -jar OmegaT.jar Arguments can be combined: to launch OmegaT with all the examples
described above, the command would be: |
The following commands tell OmegaT what to do. They have to be placed AFTER the "-jar OmegaT.jar" part. You have to add the arguments to the startup script / shortcut or type them on the command line yourself. You can not put them in a config-file like the behaviour altering arguments.
|
tells OmegaT to load the specified project on startup. E.g.
|
|
allows to tell OmegaT in which directory the configuration files are stored. If not given, OmegaT reverts to default values (OmegaT dir under user home, or if not available: the current working directory). |
|
OmegaT starts in console mode.
If mode is
|
|
Only valid when mode is
The parameter is optional and defaults to |
|
Only valid when mode is
|
|
Only valid when mode is
The parameter is optional and defaults to |
|
Only valid in console-mode. In quiet mode, less info is logged to the screen. All messages that you would usually find in the status bar are not shown. The parameter is optional and by default messages are logged to the screen. |
Legal notices | Home | Index of contents |