>>>>> "Lars" == Lars Gullik Bj�nnes <[EMAIL PROTECTED]> writes:

Lars> Does the regular xgettext (pre 0.11.1) have the -E option?

Lars> I see that xgettext and msgmerge from 0.11.1 complains a lot
Lars> that we use non-ASCII characters in the strings that are to be
Lars> translated.

Here is the help text from xgttext 0.10.39.

JMarc

Usage: xgettext [OPTION] INPUTFILE ...
Extract translatable string from given input files.

Mandatory arguments to long options are mandatory for short options too.
  -a, --extract-all              extract all strings
  -c, --add-comments[=TAG]       place comment block with TAG (or those
                                 preceding keyword lines) in output file
  -C, --c++                      shorthand for --language=C++
      --debug                    more detailed formatstring recognision result
  -d, --default-domain=NAME      use NAME.po for output (instead of messages.po)
  -D, --directory=DIRECTORY      add DIRECTORY to list for input files search
  -e, --no-escape                do not use C escapes in output (default)
  -E, --escape                   use C escapes in output, no extended chars
  -f, --files-from=FILE          get list of input files from FILE
      --force-po                 write PO file even if empty
      --foreign-user             omit FSF copyright in output for foreign user
  -F, --sort-by-file             sort output by file location
  -h, --help                     display this help and exit
  -i, --indent                   write the .po file using indented style
  -j, --join-existing            join messages with existing file
  -k, --keyword[=WORD]           additonal keyword to be looked for (without
                                 WORD means not to use default keywords)
  -L, --language=NAME            recognise the specified language (C, C++, PO),
                                 otherwise is guessed from file extension
  -m, --msgstr-prefix[=STRING]   use STRING or "" as prefix for msgstr entries
  -M, --msgstr-suffix[=STRING]   use STRING or "" as suffix for msgstr entries
      --no-location              do not write '#: filename:line' lines
  -n, --add-location             generate '#: filename:line' lines (default)
      --omit-header              don't write header with `msgid ""' entry
  -o, --output=FILE              write output to specified file
  -p, --output-dir=DIR           output files will be placed in directory DIR
  -s, --sort-output              generate sorted output and remove duplicates
      --strict                   write out strict Uniforum conforming .po file
  -T, --trigraphs                understand ANSI C trigraphs for input
  -V, --version                  output version information and exit
  -w, --width=NUMBER             set output page width
  -x, --exclude-file=FILE        entries from FILE are not extracted

If INPUTFILE is -, standard input is read.
Report bugs to <[EMAIL PROTECTED]>.
  • xgettext Lars Gullik Bj�nnes
    • Jean-Marc Lasgouttes

Reply via email to