ical2po(1)
π ical2po(1) β the manual, but make it make sense π
okay bestie, so this is the manual page for ical2po, and it lives inside the Translate Toolkit family (version 3.12.1, in case you were wondering π). grab a lil snack, we're converting calendars into translation files and it's honestly kind of iconic.
β¨ NAME β¨
ical2po β the little tool that takes your iCalendar files and turns them into Gettext PO localization files. yes. calendars β translations. it's giving multilingual main character energy ποΈβ‘οΈπ¬
πΈ SYNOPSIS πΈ
ical2po [--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]
like, that whole line up there is the whole vibe check of what this command can accept. every bracket-y bit is optional-ish, INPUT and OUTPUT are the main characters ofc π
π¦ DESCRIPTION π¦
okay so here's the deal β there are actual examples and usage instructions living at:
http://docs.translatehouse.org/projects/translate-
toolkit/en/latest/commands/ical2po.html
go read them, they're lowkey required reading before you start poking at your .ics files, no cap π₯
π OPTIONS π
--versionβ shows the program's version number and then dips out. classic exit behavior, we respect it π-h/--helpβ prints this help message and bounces. your friendly lil "what do I do" button πββοΈ--manpageβ spits out a manpage built from the help text. very meta. very recursive. we love her π--progressβ controls how progress gets shown. your choices:dots,none,bar,names,verbose. pick your fighter π―--errorlevelβ controls how loud the errors are. your choices:none,message,exception,traceback. from "say nothing" to "show me the whole crime scene" π-i/--inputβ read fromINPUT, and that input is inicsformat. your calendar source right here π₯ποΈ-x/--excludeβ kicks out any names matchingEXCLUDEfrom the input paths. boundaries, bestie π«β¨-o/--outputβ write toOUTPUT, inpoandpotformats. the destination of your newly localized calendar π-t/--templateβ read fromTEMPLATE, which is also inicsformat. use an existing one as your blueprint π§΅-S/--timestampβ skips the conversion entirely if the output file already has a newer timestamp. lazy in the smartest way possible π΄π-P/--potβ outputs PO Templates (.pot) instead of regular PO files (.po). template era fr fr π--duplicatesβ decides what happens with duplicate strings (identical source text). your options aremergeormsgctxt, and the default is'msgctxt'. the classic "wait, which one did I mean" problem, solved π«Ά
real talk:--duplicatesdefaults to'msgctxt', so if that's not what you want, bestie you gotta say so out loud on the command line π
okay that's the whole page!! Translate Toolkit 3.12.1 made this one β shoutout to them, and shoutout to you for reading all the way to the bottom π«Άβ¨ bye bestie, go convert some calendars π
π¦ 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