Catman...nguage(3pm)

πŸ“¦
version 0.06 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ NAME ✨

Catmandu::Fix::wd_language β€” okay bestie, this is a Perl manual page, section 3pm, and it's here to do one (1) very specific lil job: limiting the string values in a Wikidata entity record to just one language you picked. πŸ’…


πŸŽ€ VERSION πŸŽ€

version 0.06 β€” yeah she's a vintage queen, we stan a stable release. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea, fr fr. This Catmandu::Fix modifies a Wikidata entity record β€” specifically the kind of record that got imported by Catmandu::Importer::Wikidata.

What does "modifies" mean here? It deletes every language-tagged string it can find inside:

  • aliases
  • labels
  • descriptions

...except for the one selected language you asked for. Everything else? Gone. Deleted. Not invited to the party. πŸ’€

And because one glow-up deserves another, the strings that do survive are also simplified β€” exactly the same way that happens with Catmandu::Fix::wd_simple_strings. So it's giving cleanup plus simplification, two birds, one iconic stone. πŸͺ„

ngl this is the "only keep the language I actually care about" fix and it is extremely committed to that bit. No survivors, no exceptions, just the language you chose.

πŸ‘‘ AUTHOR πŸ‘‘

Jakob Voß β€” the icon, the legend, the moment. 🫢


This software is copyright (c) 2014 by Jakob Voß. πŸ’–

It's free software, babes β€” you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. So like, slay responsibly and read the Perl license, iykyk. πŸ“œβœ¨


And that's the whole page! This was Catmandu::Fix::wd_language, page Catman...nguage(3pm), and it shipped with perl v5.40.1, dated 2025-08-15. Thanks for reading, bestie β€” go filter some languages and live your main character era. πŸŒˆπŸ’…β­

πŸ“¦ where this page comes from