po2md(1)
π po2md β the manual page, but make it cute
okay bestie, so po2md is a lil command from the Translate Toolkit (we're on version 3.19.5, iconic) that takes your Gettext PO localization files and uses them to actually translate your Markdown files. like, you did the translations, now let's render them. periodt. π
β¨ NAME β¨
po2md β translate Markdown files using Gettext PO localization files π
πΈ SYNOPSIS πΈ
po2md [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[-m|--maxlinelength] [--no-code-blocks] [--no-frontmatter] [--no-
placeholders] [--threshold PERCENT] [--fuzzy] [--nofuzzy]
π¦ DESCRIPTION π¦
so like, the full tea, examples, and usage instructions live over here:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/md2po.html
go look at that if you want the full story, i'm just here to explain the flags, no cap. π
π OPTIONS π
--versionβ spills the program's version number, then dips out βοΈ-h/--helpβ shows you this help message, then dips out βοΈ--manpageβ spits out a manpage built from the help. manpage-ception, we love it π--progressβ how much progress tea do you want? pick your vibe:dots,none,bar,names,verbose--errorlevelβ how dramatic should errors be? choose your energy:none,message,exception,traceback-i/--inputβ read from INPUT, inpo,potformats π-x/--excludeβ ghost π» any names matching EXCLUDE out of the input paths-o/--outputβ write to OUTPUT, inmarkdown,md,text,txtformats-t/--templateβ read from TEMPLATE, inmarkdown,md,text,txtformats-S/--timestampβ skip the conversion if the output file already has a newer timestamp. she's already cute, don't touch her π-m/--maxlinelengthβ reflow (word wrap) the output to the given maximum line length. set it to0to disable. yes<italic>0</italic>means off, lowkey chaotic but okay β¨--no-code-blocksβ do not extract code blocks for translation. hands off the code, bestie π--no-frontmatterβ do not extract front matter for translation--no-placeholdersβ instead of the{n}placeholder markers, look up translation units by their full inline markdown (links, images, autolinks, HTML spans rendered verbatim). β οΈ use this together withmd2po --no-placeholders, they're a matching set okay π«Ά--thresholdβ only convert files where the translation completion is above PERCENT--fuzzyβ use translations marked fuzzy β¨--nofuzzyβ don't use translations marked fuzzy. this is the default, she's the baseline behavior π
π reminder bestie: these have to stay exactly as written β don't go renaming flags or "fixing" them, the computer will simply not get it. iykyk.
mwah π that's the whole page, written by the Translate Toolkit crew. this version is 3.19.5 and the manpage lives in the po2md(1) section of the manual. go translate something gorgeous, you ate fr fr πβ¨πΈ
π¦ where this page comes from
- ubuntu stonking: translate-toolkit 3.19.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms