Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The translate5.sh script (part of a translate5 installation) can be used to set the translate5 configuration (located in the Zf_configuration table) from the command line.

Code Block
tlauria@tenforward ~/www/translate5-master $ ./translate5.sh help config
Description:
  List, get and set translate5 configuration values.

Usage:
  config [options] [--] [<name> [<value>]]

Arguments:
  name                  The part of a configuration value name. If more than one config value is found, all are listed.
  value                 Value to be set for the configuration, only usable if name is concrete enough to find only one configuration entry.

Options:
  -d, --detail          Show config details on listing
  -m, --modified        Show only modified values on listing
      --empty           Set the value to an empty string (which can not be given as set argument).
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
  Tool to list, get and set translate5 configuration values - currently in Zf_configuration only.
  Modified values are shown bold in the simple listing.

...