rstconv(1)

✨ rstconv β€” the Free Pascal resource string converter tool πŸ’…

ok so bestie, welcome to rstconv(1) πŸŽ€ β€” part of the Free Pascal crew, and lowkey the glow-up artist your resource strings have been waiting for.


🌸 NAME 🌸

rstconv β€” The Free Pascal resource string converter tool. that's it, that's the name, and she ate πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

rstconv [options] -o outfile

periodt. that's the whole vibe right there ✨


πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea β˜• β€” rstconv reads a resource string file (.rst) that was produced by the Free Pascal compiler, and then outputs a file that an internationalization tool can actually use for internationalizing your application.

and which i18n tool, you ask? currently only GNU gettext is supported, so that's the one we're rolling with 🫢

it's giving "my app but make it speak 47 languages" 🌈


πŸŽ€ USAGE πŸŽ€

rstconv has exactly one required option: -o outfile, which specifies the output file name. no output name, no output, bestie, them's the rules πŸ’…

and if you don't specify an input file? then standard input is assumed. she'll just read straight from stdin like it's nothing 😌✨


πŸ’– OPTIONS πŸ’–

  • -f format β€” specify the output file format. currently only this one format is supported:
    • po β€” emit a .po file for use with GNU gettext, which converts it to a .mo file, that can be read with the gettext unit. this is THE format, the only one on the menu πŸ“
  • -h (or --help) β€” outputs a short help message. when in doubt, ask for help, no shame in it πŸ’•
  • -i infile β€” specifies the input file name. if you omit it, then standard input is assumed πŸ¦‹
  • -o outfile β€” (Required) specify the output file name. do not skip this one, she is not optional, she is the main character πŸ‘‘
⚠️ real talk: -o outfile is genuinely required. skip it and you're just vibing in the void πŸ’€

🌈 SEE ALSO 🌈

go read those too, they're iconic in their own right ⭐


and that's a wrap on the rstconv tour, bestie πŸ§šπŸ’œ β€” this little slice of Free Pascal magic is dated 10 Jan 2000, and it's still serving. stay converted, stay internationalized, and remember: -o outfile or it didn't happen πŸ’…βœ¨