ini2po(1)
π ini2po(1) β bestie edition β¨
okay so real talk: this is ini2po, straight out of Translate Toolkit 3.12.1, and she's here to take your .ini-family files and turn them into Gettext PO localization files. no cap. π
πΈ NAME πΈ
ini2po β converts .ini files into Gettext PO localization files. that's the whole job. she ate. π
β¨ SYNOPSIS β¨
ini2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[-P|--pot] [--duplicates DUPLICATESTYLE]
π¦ DESCRIPTION π¦
hiii so like, if you want the full tea β examples, usage instructions, the whole vibe β go read this:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/ini2po.html
that's the official spot for it. periodt. π
π OPTIONS π
every single flag, zero skips, iykyk:
--versionβ shows the program's version number and dips. bye bestie π-h/--helpβ shows this help message and exits. the classic "help me help you" move π«Ά--manpageβ outputs a manpage based on the help. manpage-ception, honestly iconic β¨--progressβ shows progress as one of:dots,none,bar,names,verbose. pick your vibe π--errorlevelβ shows errorlevel as one of:none,message,exception,traceback. how much drama do you want when things go wrong π-i/--inputβ reads from INPUT inini,isl,issformats. come on in π-x/--excludeβ excludes names matching EXCLUDE from input paths. not you, girl π-o/--outputβ writes to OUTPUT inpo,potformats. make it cute π-t/--templateβ reads from TEMPLATE inini,isl,issformats. the blueprint, the blueprint π§-S/--timestampβ skips conversion if the output file has a newer timestamp. lowkey respecting the timeline β-P/--potβ outputs PO Templates (.pot) rather than PO files (.po). templates only, no notes π¦--duplicatesβ what to do with duplicate strings (identical source text):merge,msgctxt(default:'msgctxt'). choose your fighter π₯
ngl,--duplicatesdefaulting to'msgctxt'is the detail you're gonna forget, so like... remember it. bestie promise? π
and that's the page!! brought to you by Translate Toolkit 3.12.1 β mwah, stan, see u in the docs ππ
π¦ where this page comes from
- opensuse-leap 16.0: python313-translate-toolkit 3.12.1-bp160.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms