Hi, i add more language on eventon with this code :
// AJOUT DE LANGUE DANS EVENTON
add_filter(‘eventon_lang_var_count’,’eventon_lang_count’, 99999, 1);
add_filter(‘eventon_lang_variation’,’eventon_lang_vars’, 99999, 1);
$new_array = array(‘L4′,’L5′,’L6’);
return array_merge($array, $new_array);
Like is explain here : http://www.myeventon.com/documentation/include-additional-languages/
I find correctly the field for edit the text on the addon “subscriber” but for my L4 , L5, L6 translations are not correctly displayed.
Screenshot : https://cdn.1min30.com/wp-content/uploads/2017/03/Sans-titre-1-1.jpg
For see the bug you can go on this url : https://www.sigmaconso.com/nl/academy/ and click on the button “INSCHRIJVEN”Mar 31,2017 AT 6:23AM - 4 years ago -
Can you solve my problem ?
Sorry for the delay and thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patience and thank you for being a eventon customer!
Fine, i stay available for Ashan, its very urgent for us our customer wait us.
So i still wait Ashan …
hey there sorry for the delay i will be on mobile till monday so my contributions here are limited.
However can you please try instead of 99999 > 10 and see if that would fix this.
Hi, is not work.
The problem is that French is resumed in any language. The fields are well filled, the shortcode is correct, but the ADDON: SUBSCRIBER plugin resumes the L1 parameters each time for the last 3 languages to be added via the code. So I think the plugin is not compatible with more than 3 languages.
It works fine on my end are you passing a shortcode like this [evo_subscribe_btn lang=’L4′]?
Yes i use [evo_subscribe_btn btn_txt=”Registrarse” lang=”L5″] you can see it here :
at the end of the page.
When i do <?php echo $this->lang ?> on the code of the plugin it return alway “L1”.
Would you mind updating eventon to latest version (2.5.2) you are on a very old version (2.3.23) perhaps that might be what causing the issue.
Once you update to latest version be sure to clear cache.