posplit(1)

🌸 posplit(1) β€” the Translate Toolkit's lil splitting queen πŸ‘‘

okay bestie, so posplit is part of the Translate Toolkit (we're on version 1.3.0 btw, vintage πŸ’…), and it lives in section 1 of the manual β€” that's the user-commands section, iykyk. She has ONE job and she eats every time: take your big PO file and βœ‚οΈ split it.


✨ NAME ✨

posplit β€” split a PO file into a translated, fuzzy, and untranslated PO file. that's it. that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

posplit ./file.po

Where file.po is an existing PO file or PO compendium. (yes bestie, PO compendiums count too, she's flexible like that πŸ’–)


πŸ’« DESCRIPTION πŸ’«

So here's the tea πŸ“: posplit takes an existing PO file and splits it into three components:

  • translated πŸ‘‘
  • untranslated 😭
  • fuzzy πŸ™ˆ

That's it, that's the magic. Three little PO babies from one PO parent.

Why would you even want this? Two iconic reasons:

  • for reviewing translations β€” lowkey so much easier when the good ones aren't tangled up with the unfinished ones
  • for extracting good translations from a compendium file β€” like, pull the slay out of the pile, periodt πŸ’…

πŸ’€ BUGS πŸ’€

okay so this is the part where we hold hands 🫢 β€” there are some relative path bugs, and because of that you literally have to put the ./ before file.po.

not optional, bestie. it's giving "the code said so." ./file.po or nothing. 🚨

🌈 a lil sign-off 🌈

and that's the whole page, no cap ✨ this was posplit(1), brought to you by the Translate Toolkit 1.3.0 β€” go split something, you absolute icon πŸ’–πŸŒΈπŸ¦‹