I made a couple related threads but this is the one direct question that I'm seeking the answer for. My framework will use Zend_Translate
if the php version is 5, otherwise I have to mimic the functionality for 4.
It seems that pretty much every implementation of gettext relies on setlocale or locales, I know there's a LOT of inconsistency across systems which is why I don't want to rely upon it.
I've tried a couple times to get the textdomain
, bindtextdomain
and gettext
functions to work but I've always needed to invoke setlocale
.
By the way, all the .mo files will be UTF-8.