Besides opening a file by clicking on it, Virtaal can be launched directly from the command line:
virtaal [options] [filename]
filename is optional, and is the translation file to open on startup (see
Opening a File).
Show a summary of these options and exit.
Print Virtaal’s version and exit.
Turn on logging, storing the result to the supplied filename. Use -
or STDOUT to log to the console instead of a file.
Use the configuration file given by the supplied filename, instead of Virtaal’s default configuration location.
Wrap every translatable UI string in brackets (e.g. [Save]), using a
synthetic pseudo-translation rather than a real one. Useful for spotting
hardcoded strings and layout truncation. Mutually exclusive with
--pseudo-translation-bidi and --lang.
Like --pseudo-translation, but also wraps every string in
Unicode right-to-left isolate marks, simulating a right-to-left UI layout
while keeping the text itself readable. Mutually exclusive with
--pseudo-translation and --lang.
Override the UI language for this run, without changing the saved
Preferences setting. Mutually exclusive with --pseudo-translation
and --pseudo-translation-bidi. <language> is one of:
a language code (e.g. fr) - Virtaal must have a translation for it
(see Localising Virtaal).
en - Virtaal’s own untranslated source strings.
system - the OS’s own default locale, ignoring the saved
Preferences setting.
Perform profiling, storing the result to the supplied filename in KCacheGrind format. Only available in a development checkout, not in a packaged build.