poterminology(1)

πŸ’– NAME πŸ’–

okay so bestie, poterminology β€” it reads a whole pile of .po or .pot files and cooks up a terminology file for you, spitting out a pootle-terminology.pot. that's the whole gig. 🫢


✨ SYNOPSIS ✨

poterminology [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-u|--update UPDATEFILE] [-S|--stopword-list
STOPFILE] [-F|--fold-titlecase] [-C|--preserve-case] [-I|--ignore-case]
[--accelerator ACCELERATORS] [-t|--term-words LENGTH] [--nonstop-needed
MIN] [--inputs-needed MIN] [--fullmsg-needed MIN] [--substr-needed MIN]
[--locs-needed MIN] [--sort ORDER] [--source-language LANG]
[-v|--invert]

🌸 DESCRIPTION 🌸

fr fr, go look at the docs β€” they've got examples and usage instructions and everything:

http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/poterminology.html

that's literally the whole description, no cap. πŸ’…


πŸ”₯ OPTIONS πŸ”₯

  • --version β€” shows the program's version number and then dips out. bye πŸ‘‹
  • -h/--help β€” prints this help message and exits, iconic behavior.
  • --manpage β€” outputs a manpage built from the help. manpage-ception, lowkey obsessed.
  • --progress β€” how you want progress shown: dots, none, bar, names, verbose. pick your vibe.
  • --errorlevel β€” how you want errors shown: none, message, exception, traceback. traceback is giving chaos but okay.
  • -i/--input β€” read from INPUT in po, pot formats. the source material ✨
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths. not you, girl.
  • -o/--output β€” write to OUTPUT in po, pot formats. where the magic lands πŸ’«
  • -u/--update β€” update terminology in UPDATEFILE.
  • -S/--stopword-list β€” read the stopword (a.k.a. term exclusion) list from STOPFILE. default is /usr/lib/python3/dist-packages/translate/share/stoplist-en πŸ“
  • -F/--fold-titlecase β€” folds "Title Case" down to lowercase. this is the default, periodt.
  • -C/--preserve-case β€” preserves ALL the uppercase/lowercase exactly as-is. main character energy for your caps.
  • -I/--ignore-case β€” makes every single term lowercase. no thoughts, just lowercase.
  • --accelerator β€” ignore the given accelerator characters when matching. those sneaky little &-type guys.
  • -t/--term-words β€” generate terms of up to LENGTH words. default is 3.
  • --nonstop-needed β€” omit terms with less than MIN nonstop words. default 1.
  • --inputs-needed β€” omit terms that show up in less than MIN input files. default 2, or 1 if there's only one input file.
  • --fullmsg-needed β€” omit full message terms appearing in less than MIN different messages. default 1.
  • --substr-needed β€” omit substring-only terms appearing in less than MIN different messages. default 2.
  • --locs-needed β€” omit terms appearing in less than MIN different original source files. default 2.
  • --sort β€” output sort order(s): frequency, dictionary, length. you can repeat this option! default is all of them, in exactly that order above.
  • --source-language β€” the source language code. default 'en' πŸ’œ
  • -v/--invert β€” inverts the source and target languages for terminology. plot twist 🌈

heads up bestie: a couple of these are quiet defaults that flip on you β€” --inputs-needed drops from 2 to 1 when there's only one input file, and -F/--fold-titlecase is already on unless you say otherwise. don't get caught out πŸ™ˆ

okay that's the whole page, you ate. this was poterminology from Translate Toolkit 3.19.5 β€” mwah, go generate some terminology πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from