
stc <inputfile> <outputdir>
stc -p <inputfile> <outputdir>

The program stc converts string tables from textform into
binary string tables.
Text form string tables contain the search keys and the
values for all supported languages.
A binary string table contains only the values for one
language.
For each language a subdirectory in the outputdir directory
is created. If regions and encodings are specified further
subdirectories will be created.
If an input file "abc.str"

  # This is an example string table file abc.str
  $version 1.0
  "msg-hello"
  de = "Guten Tag."
  en = "Hello"
  en_US = "Hi"
  "msg-goodbye"
  de = "Auf Wiedersehen."
  en = "Goodbye."

is converted by calling

  stc abc.str /usr/local/lib/x

the directories

  /usr/local/lib/x
  /usr/local/lib/x/de
  /usr/local/lib/x/en
  /usr/local/lib/x/en/us

will be created. Each subdirectory will contain a file "abc.stt"
containing a binary string table.

By default the program stc tries to write compressed binary
string tables. You can prevent this by specifying the
"-p" option.


