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? Quote Link to comment Share on other sites More sharing options...
AbraCadaver Posted January 25, 2011 Share Posted January 25, 2011 textdomain() --or-- bindtextdomain() Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.