ecppl(1)

πŸ“¦ version 2.2.1, in ubuntu jammy

✨ ecppl β€” the language-extractor bestie for ecpp πŸ’…

okay so real quick: this is the manual for ecppl from the Tntnet users guide (section 1 of the manuals, iykyk). She's a little tool with one job and she does it immaculately. πŸŽ€


🌸 NAME 🌸

ecppl β€” the language-extractor for ecpp(7) πŸ¦‹


⭐ SYNOPSIS ⭐

ecppl [-I dir] [-ln] [-o output-filename] ecpp-filename ...

πŸ’– DESCRIPTION πŸ’–

So ecppl is the language extractor for ecpp. And ecpp? That's the template language used with tntnet, and she is internationalized, periodt. 🌍✨

Here's the tea πŸ“: inside ecpp templates, the tag <i18n> literally changes the meaning of curly braces. A phrase that's enclosed in curly braces can be translated. At runtime, that phrase gets looked up in a language-library. This mode can be quit with the tag </i18n>.

⚠️ important caveat bestie: phrases must not have newlines or tabs. Like, at all. πŸ’€

Every phrase that's marked as translatable gets extracted with ecppl and written to standard output, or to a specified output-filename, line by line. Chef's kiss, no notes. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -I dir β€” search include-files in dir. This option can be passed multiple times, and all the specified directories are searched in turn for include-files. She's thorough like that. πŸ”
  • -l β€” extract language-phrases (this is the default, she's the main character here πŸ‘‘)
  • -n β€” extract non-language-phrases (the plot twist πŸ™ˆ)
  • -o filename β€” specify output filename. Where the extracted phrases go instead of stdout. πŸŽ€

🫢 AUTHOR 🫢

This manual page was written by Tommi MΓ€kitalo tommi@tntnet.org. Iconic of him fr fr. πŸ’–


🌈 SEE ALSO 🌈

tntnet(1), ecpp(7), ecppll(1).


mwah, that's the whole page bestie πŸ’œ β€” brought to you by Tntnet, dated 2006-07-23, and it still ate. 🫢✨

πŸ“¦ where this page comes from