Ported `_gettext_to_maketext` from L::MT::L::Gettext

Ported `_gettext_to_maketext` from L::MT::L::Gettext by Copy N Paste :)