WPML plugin problem

Closed
Panagea - Hotel and Tours Booking WordPress Theme Panagea - Hotel and Tours Booking WordPress Theme November 01, 2018
Login to reply
Igor Lavresh
4 years ago


Kelly R Support Agent
4 years ago

Hi,

We updated our theme right now. Please download latest version from
https://themeforest.net/downloads
And then replace panagea theme directory with the new one in your website.
After that please update panagea booking plugin in Panagea -> Tools menu.
If this is not working, please download latest version of panagea booking
plugin from https://c-themes.com/plugins/panagea-booking.zip and replace
panagea-booking folter with it in plugins directory in your website.
Then you can translate all the text using translate plugin.
BTW, please note you should translate panagea booking plugin, too.
Search form was made by shortcode and shortcodes are in panagea booking
plugin, so you should translate texts from panagea booking plugin, too.

Regards, C-Themes

Igor Lavresh
4 years ago

Hello,

Home Page 6 has a search form on it. The "Search" button is not translatable with WPML plugin. WPML support wrote me a message:

[Hi there,


Thanks! For a string to be translated, it must be wrapped in a gettext/translatable string (see https://codex.wordpress.org/I18n_for_WordPress_Developers). I did a search at your theme folder and found some strings that are not ready for translation (see screenshot).


There is 2 options in this case:

1) Open the files of the screenshot and replace this:


1

value="Search"

With this:


1

value="<?php esc_attr_e( 'Search', 'panagea' ); ?>"

This way you should be able to translate the string using the String Translator

IMPORTANT: Please backup your site first before making any change, this is important for security reasons.


2) Contact the support of the theme to fix this at the code of the theme


Please let me know if it worked for you.


Kind Regards,

Diego]

I might need your help fixing this.

Thanks and regards,

Igor