msgmerge.txt 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Usage: msgmerge [OPTION] def.po ref.pot
  2. Merges two Uniforum style .po files together. The def.po file is an
  3. existing PO file with translations which will be taken over to the newly
  4. created file as long as they still match; comments will be preserved,
  5. but extracted comments and file positions will be discarded. The ref.pot
  6. file is the last created PO file with up-to-date source references but
  7. old translations, or a PO Template file (generally created by xgettext);
  8. any translations or comments in the file will be discarded, however dot
  9. comments and file positions will be preserved. Where an exact match
  10. cannot be found, fuzzy matching is used to produce better results.
  11. Mandatory arguments to long options are mandatory for short options too.
  12. Input file location:
  13. def.po translations referring to old sources
  14. ref.pot references to new sources
  15. -D, --directory=DIRECTORY add DIRECTORY to list for input files search
  16. -C, --compendium=FILE additional library of message translations,
  17. may be specified more than once
  18. Operation mode:
  19. -U, --update update def.po,
  20. do nothing if def.po already up to date
  21. Output file location:
  22. -o, --output-file=FILE write output to specified file
  23. The results are written to standard output if no output file is specified
  24. or if it is -.
  25. Output file location in update mode:
  26. The result is written back to def.po.
  27. --backup=CONTROL make a backup of def.po
  28. --suffix=SUFFIX override the usual backup suffix
  29. The version control method may be selected via the --backup option or through
  30. the VERSION_CONTROL environment variable. Here are the values:
  31. none, off never make backups (even if --backup is given)
  32. numbered, t make numbered backups
  33. existing, nil numbered if numbered backups exist, simple otherwise
  34. simple, never always make simple backups
  35. The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX
  36. environment variable.
  37. Operation modifiers:
  38. -m, --multi-domain apply ref.pot to each of the domains in def.po
  39. -N, --no-fuzzy-matching do not use fuzzy matching
  40. --previous keep previous msgids of translated messages
  41. Input file syntax:
  42. -P, --properties-input input files are in Java .properties syntax
  43. --stringtable-input input files are in NeXTstep/GNUstep .strings
  44. syntax
  45. Output details:
  46. --lang=CATALOGNAME set 'Language' field in the header entry
  47. --color use colors and other text attributes always
  48. --color=WHEN use colors and other text attributes if WHEN.
  49. WHEN may be 'always', 'never', 'auto', or 'html'.
  50. --style=STYLEFILE specify CSS style rule file for --color
  51. -e, --no-escape do not use C escapes in output (default)
  52. -E, --escape use C escapes in output, no extended chars
  53. --force-po write PO file even if empty
  54. -i, --indent indented output style
  55. --no-location suppress '#: filename:line' lines
  56. --add-location preserve '#: filename:line' lines (default)
  57. --strict strict Uniforum output style
  58. -p, --properties-output write out a Java .properties file
  59. --stringtable-output write out a NeXTstep/GNUstep .strings file
  60. -w, --width=NUMBER set output page width
  61. --no-wrap do not break long message lines, longer than
  62. the output page width, into several lines
  63. -s, --sort-output generate sorted output
  64. -F, --sort-by-file sort output by file location
  65. Informative output:
  66. -h, --help display this help and exit
  67. -V, --version output version information and exit
  68. -v, --verbose increase verbosity level
  69. -q, --quiet, --silent suppress progress indicators
  70. Report bugs to <bug-gnu-gettext@gnu.org>.