Thread Starter
Joi
(@circuuz)
Im setting the language from url.
Nope, it works great with WP core and my theme.
It seems like it doesnt work with plugin textdomains loaded in the correct action corresponding to the codex: http://codex.ww.wp.xz.cn/Function_Reference/load_plugin_textdomain.
If I load the textdomain at the init action instead it works like it should.
This is something I really would like a workaround for since it could mess up most plugins.
Thread Starter
Joi
(@circuuz)
Thank you for the example.
It seems to be working great except with other plugins textdomains. They seem to be loading the old language instead of the new one.
Thread Starter
Joi
(@circuuz)
Alright thank you.
I tried doing the same thing in a plugin and it didnt redirect just like I wanted, but now the language doesnt change. When I set the language from url like I want to the language stays in the old language.
Any way to check for a front page and set the language to the same as that front page?