I have a big ol' .po file containing all the user-facing strings I need for my PHP app. I'd like to know if there's a PHP function I can use to get a list of all the msgid strings stored in the .po or the .mo.
I didn't see a published PHP function that does this. Anyone know of something similar, or will I have to manually parse my .po file myself?
This is what I'd optimally like to see:
$msgids = magic_gettext_keys_function('mydomain');
foreach ($msgids as $msgid) {
do_something_awesome($msgid);
}