skgsergio Posted January 25, 2011 Share Posted January 25, 2011 Hi, is there any way when using gettext to change the default folder? I mean, gettext read mo files from xx_XX/LC_MESSAGES/domain.mo but isn't friendly... is there any way to change it to another path like langs/xx_XX.mo? Link to comment https://forums.phpfreaks.com/topic/225661-change-gettext-path/ Share on other sites More sharing options...
AbraCadaver Posted January 25, 2011 Share Posted January 25, 2011 textdomain() --or-- bindtextdomain() Link to comment https://forums.phpfreaks.com/topic/225661-change-gettext-path/#findComment-1165168 Share on other sites More sharing options...
skgsergio Posted January 25, 2011 Author Share Posted January 25, 2011 As far as I know it only changes the location of the root directory but not langs/xx_XX/LC_MESSAGES/domain.mo for langs/xx_XX.mo Link to comment https://forums.phpfreaks.com/topic/225661-change-gettext-path/#findComment-1165170 Share on other sites More sharing options...
AbraCadaver Posted January 25, 2011 Share Posted January 25, 2011 Yes, sorry.. I don't think you can change the others without recompiling gettext. It may even be hard coded into the source. Link to comment https://forums.phpfreaks.com/topic/225661-change-gettext-path/#findComment-1165172 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.