pretranslate(1)
β¨ pretranslate(1) β the glow-up your localization files deserve β¨
okay bestie, imagine this: you've got a bunch of localization files and they're justβ¦ sitting there, empty, giving nothing. enter pretranslate, the Translate Toolkit icon that fills your localization files with suggested translations based on translation memory and existing translations. no cap, it's literally matchmaking for your strings π
πΈ SYNOPSIS πΈ
pretranslate [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp] [--tm]
[-s|--similarity] [--nofuzzymatching]
π¦ DESCRIPTION π¦
bestie, the docs said it themselves, so here's the vibe:
See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pretranslate.html for examples and usage instructions.
like, that's the whole mood. go read the examples, they ate π
π OPTIONS π
--versionβ show the program's version number and dip out. iconic exit behaviour, honestly.-h/--helpβ show this help message and bounce. your lil helper era β¨--manpageβ output a manpage based on the help. yes, the tool can generate its own manpage, main character energy fr fr.--progressβ show progress as:dots,none,bar,names,verbose. pick your vibe, the dots are lowkey cute π«Ά--errorlevelβ show errorlevel as:none,message,exception,traceback. choose how much you wanna hear about the chaos π-i/--inputβ read from INPUT inpo,pot,pot,xlf,xliffformats. (yes,potis listed twice in the original β not me, I'm just reporting the facts π)-x/--excludeβ exclude names matching EXCLUDE from input paths. not invited to the party, periodt.-o/--outputβ write to OUTPUT inpo,pot,xlf,xliffformats. this is where the slay happens π-t/--templateβ read from TEMPLATE inpo,pot,xlf,xliffformats. the blueprint, the moment.-S/--timestampβ skip conversion if the output file has a newer timestamp. she's fresh already, leave her alone π--tmβ the file to use as translation memory when fuzzy matching. your memory bank, your receipts π§-s/--similarityβ the minimum similarity for inclusion (default:75%). below that? respectfully, not a match π--nofuzzymatchingβ disable fuzzy matching. no guessing, no vibes, only exact. strict queen behaviour π
lowkey important:-s/--similaritydefaults to75%, so if you want the bar higher or lower, that's the flag to touch. and--nofuzzymatchingturns the whole fuzzy thing off β bestie said no approximations today π«Ά
π a lil sign-off π
this page came to you courtesy of Translate Toolkit 3.12.1, dated right there in the header and the footer like a matching set. go forth, pretranslate your little heart out, and remember: your strings were always meant to be found ππβ¨
π¦ 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