Please or Register to create posts and topics.

Tours in 2 languages

Page 1 of 2Next

Hi,

I am building a 2 languages site, when I load a tour, there's no language option, hence it's not possible to differentiate the shown featured tours depending on the language in the home page. Also, just 1 category can be shown at the time, so dividing by category is also not an option. Is there a way to get this working? I wouldn't like to be forced to duplicate the website because of that, it would be a super extra work...

 

Thank you

Hi,

Thank You for choosing us!

Kindly provide us the Site URL to review so that we could provide you a solution.

Thank You

https://insideamsterdam.000webhostapp.com/

The trips appear to support the Polylang language plugin, but the tours function not.

Thanks for looking into this

Hi,

Thanks for your post.

You can also use the GT Translate plugin.

Many Thanks!

I understand, but this is what I wanted to avoid... from my understanding also the section titles in home page are not translatable in this way. I wanted to customize personally all the translations, and it doesn't look to be possible, that's disappointing. Is there a way to work around it?

Hi,

Thanks for your email.

You need to use the polylang free plugin and follow the below steps:

The free version of POEdit doesn’t have the “Translate WordPress theme or plugin” functionality, but you can still generate the .po/.mo files used to translate your plugin with these instructions:

Download POEdit
Run POEdit, then go to File > New…
Select the language of your translation strings in the plugin
Go to File > Save and save the file somewhere (recommended to put it in the languages folder inside your plugin)
Click “Extract From Sources”
Click the small “+” button under “Paths” (bottom left corner) and select the main folder of your plugin
Click the “Sources Keywords” tab along the top
Click the small add button (second from the left)
Enter __ (that’s two underscores) then press enter
Click on the small add button again, then enter _e (underscore then e) and press enter
Repeat to add any additional functions you might have used to translate in your plugin, such as esc_html__ (with two underscores at the end)
Click OK
Verify all your strings were found, otherwise go to Catalog > Properties… in the menu and add any additional translation functions (like esc_attr__) in the Sources Keywords tab
Go to File > Save to save your .mo file again
Include the .po and .mo files in your plugin’s languages/ folder or make it available for download somewhere.

There are also paid plugins available for language translation.

Thank You.

[EDIT]

Hello,

apologies, I made a bit of research and found that Custom Post types translation needs to be activated in Polylang to enable Tours translation. No idea why with the Trips post type this had not been necessary.

https://polylang.pro/doc/multilingual-custom-post-types-and-taxonomies/

Regarding the title of the "Featured Tours" section, do you have an advice on how to have it multilingual?

And also, in the Tour post, it comes a section called "BOOKING FOR DESTINATION" , I researched a lot, but didn't find where I'm supposed to put the form shortcode. Can you please advise?

Thanks

Hi,

Can you please tell us where the "Featured Tours" section present in your theme?

For BOOKING FOR DESTINATION

You have not added the Shortcode generated by the contact form7 plugin and paste it in the pages.

You also need to set the domain ID to receive the emails through your newsletter.

Refer the Documentation for this:https://contactform7.com/docs/

If you need further assistance or clarification please feel free to contact us.

Thank You

Hi,

the Featured Tours are " Tour del momento ", see attached screen

 

I added the shortcode at the end of the text in a Tour post type, but the form comes before the BOOKING FOR DESTINATION, that then makes no sense all alone. See here: https://insideamsterdam.000webhostapp.com/tours/tour-a-piedi-amsterdam-centro-e-canali

My question was: where am I supposed to paste it to have it below BOOKING FOR DESTINATION ? If I customize the page it says to paste it, but I really cannot find where.

Uploaded files:
  • sc.png

Hi,

Thanks for your reply.

are you not getting the option in the customizer?

Also check that you are using the current version.

Thanks

Page 1 of 2Next