• We have WPML on all our websites, but I am unsure of how to use WAME Chat on the different language sides of our site. How does that work? What do I do to make it work on both languages?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pacotole

    (@pacotole)

    First you need to install, activate and configure WAme.

    After that, global WAme settings can be translated with WPML String Translation module and WAme settings at page level can be transalated on every language page.

    NOTE: by default global phone number it’s not translatable. You can add it to WPML translations strings with this code:

    add_filter( 'whatsappme_settings_i18n', function($settings){
    	$settings['telephone'] = 'Telephone';
    	return $settings;
    } );
    • This reply was modified 4 years, 8 months ago by Pacotole.
    Thread Starter toucano

    (@toucano)

    Hello Pacotole, so very sorry not to get back to you sooner to thank you SOOOOOOOO much for all your help. It’s been super busy here and I have only just returned to this to solve the problem. Thanks to you and your help, I have this working now!

    The only part I didn’t understand is the default global phone number.

    For now, we have one phone number for English and Spanish for now, but ideally we would like to have two numbers. I am not sure where or how I can add this code above in WPML. Could you possibly give me a little bit more explanation?

    Many thanks again.

    Plugin Author Pacotole

    (@pacotole)

    Hi!

    You need to add the previous php code in your theme functions.php file.
    Another option is to use a plugin like Code Snippets and add a new snippet with the code that “Run everywhere”.

    With code added you need to save WAme settings to register the new “Telephone” string and now phone number will be among the strings for translation.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WPML Multilingual Version – How to use it?’ is closed to new replies.