Quote:
Originally Posted by emisand
- Where should I hook the plugin so I can change the language before the language is initialized/updated?
- How can I change the forum language by code?
|
I think you can use hook location init_startup and set $_REQUEST['langid'] to the language id that you want. It should be the same as putting langid on the url. (look in includes/init.php and search for langid if you want to see what's going on).