po2idml(1)
π po2idml β the glow-up your translations deserve π
okay bestie, listen. po2idml is a lil command from the Translate Toolkit (we're on version 3.19.5 here, iconic) and it does one thing but it does it gorgeously: you hand it an IDML template file π and a PO file full of translations of the strings that live inside that IDML template, and it hands you back a brand new IDML file with all your translated strings slotted in. that's it. that's the whole vibe. no cap. β¨
πΈ NAME πΈ
po2idml β takes an IDML template file and a PO file containing translations of strings in the IDML template. It creates a new IDML file using the translations of the PO file. π¦
β SYNOPSIS β
po2idml [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
π OPTIONS π
like. every single one. no skipping, we don't do that here. π
--versionβ shows the program's version number and then dips out (exits). so slay of it.-h/--helpβ prints this help message and exits. the classic "hello what is this" button. π--manpageβ spits out a manpage that's based on the help. meta fr fr.--progressβ decides how progress gets shown, and your choices are:dots,none,bar,names,verbose. pick your fav aesthetic. π--errorlevelβ decides how much error tea gets spilled:none,message,exception,traceback. (traceback is the unhinged one, we love her.) π-i/--inputβ read from INPUT in thepo,potformats. your translations go here bestie.-x/--excludeβ exclude names matching EXCLUDE from the input paths. like a lil velvet rope for your files. π«β¨-o/--outputβ write to OUTPUT in theidmlformat. this is the glow-up result. π-t/--templateβ read from TEMPLATE in theidmlformat. your IDML template lives here, don't forget her.-S/--timestampβ skips the conversion entirely if the output file already has a newer timestamp. lowkey efficient, highkey respectful of your time. π«Ά
heads up:-i/--input,-o/--outputand-t/--templateall want their argument, and--progressand--errorlevelwant a value too. don't leave them hanging, that's rude. π
π§ SEE ALSO π§
(nothing listed in this one β go be the reference you wish to see in the world, periodt. π)
stay hydrated, keep your PO files tidy, and remember: this page is from Translate Toolkit 3.19.5. mwah. ππ
π¦ 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