Posted: December 2, 2016 at 7:16 am
|
So I had to create a site that will host tickets for various events in two Primary Languages. I wasnt happy with this and I know that EE have lost a few customers over this. So I wanted to find a solution. In wordpress there is a way that you can dynamically change the language for each user that browses your site. This used to be done by defining WPLANG in your wp-config – but this has now all been depreciated. So I went hunting…. After two hours, 500 open tabs and more than 20 versions of my wp-config.php I found a solution. PLEASE NOTE!!!! The Work Around PART 1 Simply edit your site’s wp-config.php and paste the following text
$locale = $_SESSION["customlang"]; PART 2 FOR EACH LANGUAGE Done! I will work on possibly making this into a plugin in the future. but for now it works as I need it. DISCLAIMER |
|
This is great! Thanks for that. Do you have any advices on how the questions labels can be translated after pressing the register now button? Thanks for your help |
The support post ‘HOW TO: Multi Language Booking & Event Espresso (a workaround)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.