Strings translation

Closed
Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme June 23, 2019
Login to reply
Edner Zephir
4 years ago

Thank you

Kelly R Support Agent
4 years ago

please download latest version from themeforest and update travelo theme in your website.

Please check https://c-themes.support-hub.io/articles/how-to-update-travelo-theme to update the theme.

After that, you can find missing strings in language file.

Regards, C-Themes

Edner Zephir commented privately
Kelly R Support Agent
4 years ago

Please clear cache in your browser and test again.

Regards, C-Themes

Kelly R Support Agent
4 years ago

Hi,

I checked your website and it is working well. Please check http://prntscr.com/o7ptq2

Regards, C-Themes

Edner Zephir commented privately
Kelly R Support Agent
4 years ago

I can not make it private.

You can remove those ticket message.

Regards, C-Themes

Edner Zephir commented privately
Websoft Consultancy
4 years ago

I would like to purchase the theme before that i want to know that can i integrate any indian payment gateway like payumoney/CCAVENUE/Instamojo in travelo wordpress theme? Please let me know. Also let me know can i get any discount also?

Kelly R Support Agent
4 years ago

Hi,

I cannot connect your ftp server.

and I checked your website.

Please put following code in header of messages_es.js file.

I think you added messages_es.js file in /wp-content/themes/travelo/js directory.

$ = jQuery.noConflict();

And then try booking again.

Regards, C-Themes

Kelly R Support Agent
4 years ago

Hi,

Please send me your website url and admin credentials and ftp information.

Let me check the issue in booking form.

And you should edit email subject and content in theme options panel. http://prntscr.com/o6q57b

Regards, C-Themes

Edner Zephir
4 years ago

Hi Kelly,

The option number works for me: http://prntscr.com/o6pl31

But the option 1 doesn't work: http://prntscr.com/o6pmj2. Could you check these files for the change that you ask me to do:

  1. message_es.js path: http://prntscr.com/o6plv5 and the functions.php path: http://prntscr.com/o6plkq
  2. Check the attachments

Some missing translations else:

Edner

Kelly R Support Agent
4 years ago

Hi,

1. We used jquery validator to validate booking form fields.

Please download language file from https://github.com/jquery-validation/jquery-validation/tree/master/src/localization

For example, if you use french, please download messages_fr.js from the url.

And then put it in /wp-content/themes/travelo/js directory.

After that, please edit /wp-content/themes/travelo/inc/functions/functions.php file.

Find following code.

wp_register_script( 'trav_script_jquery_validate', TRAV_TEMPLATE_DIRECTORY_URI . '/js/jquery.validate.min.js', array( 'jquery' ), '', true );

Replace with following code.

wp_register_script( 'trav_script_jquery_validate', TRAV_TEMPLATE_DIRECTORY_URI . '/js/jquery.validate.min.js', array( 'jquery' ), '', true );

wp_register_script( 'trav_script_jquery_validate_fr', TRAV_TEMPLATE_DIRECTORY_URI . '/js/messages_fr.js', array( ), '', true );

Find following code.

wp_enqueue_script( 'trav_script_jquery_validate' );

Replace with following code.

wp_enqueue_script( 'trav_script_jquery_validate' );

wp_enqueue_script( 'trav_script_jquery_validate_fr' );

After that please try again.

2. We did not added it.

We will fix it it in further version.

For now, you can find following code in /wp-content/themes/travelo/js/theme-scripts.js file and change it.

var daynames = new Array("sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday");

Regards, C-Themes

Edner Zephir
4 years ago

Hi Kelly,

Thanks for your reply. I'm going to do what you ask me to do. After replacing those files do I need to scan again and generate another .pot file to get any missing strings? Excuse me, I found DATE PASSED. 

In the meantime here is other string I don't found: 

  1. http://prntscr.com/o5zjww
  2. I thing you forget the Calendar: http://prntscr.com/o5rfx1 

To translate "Browse" text what do you think, is better using your way or this way http://prntscr.com/o5zozl? I say that because I use the child theme and I don't want to lose this change after theme update.

Kelly R Support Agent
4 years ago

Hi,

Please replace /templates/user/dashboard.php and /templates/user/profile.php, /comments.php files in Travelo theme directory with attachments and try translation again.

And I think you can find "DATE PASSED" text in language file.

To translate "Browse" text, please use following css code in theme options panel.

http://prntscr.com/o5uv1d

Regards, C-Themes

Edner Zephir
4 years ago

Hi,

Where can I translate the followings strings:

  1. http://prntscr.com/o5qahd. As you can see, the only string that I found is translated.
  2. http://prntscr.com/o5qazs
  3. http://prntscr.com/o5qbx6. This is the placeholder in the texta are to send comment from a post.
  4. Calendar: http://prntscr.com/o5rfx1

Edner