WPML integration issues

Closed
CityTours - Hotel & Tour Booking WordPress Theme CityTours - Hotel & Tour Booking WordPress Theme December 08, 2018
Login to reply
Kelly R Support Agent
2 years ago

Hi,

We replied to another ticket and we will close this ticket.

Regards, C-Themes

Germán Torres
2 years ago

Yes, I opened a new ticket. Its about to change Submit text with WPML on reviews modal window.  You can see the attached image. Regards.

Kelly R Support Agent
2 years ago

Hi,

I think you replied me with any theme issue, but can not see it.

I hope you send me again.

Regards, C-Themes

Kelly R Support Agent
2 years ago

If you have any other issue with our theme, please create another ticket.

And I hope you give CityTours theme good rate in https://themeforest.net/downloads

Regards, C-Themes

Germán Torres
2 years ago

Thanks, I already did that. thanks for answer.

Kelly R Support Agent
2 years ago

Hi,

You can not translate archive page. You just need to translate all the tours, then if you switch language, it will shows the tours based on languages.

And you can add it to menu. please check http://prntscr.com/luajz6

Regards, C-Themes


Germán Torres
2 years ago

Here the image.

Germán Torres
2 years ago

Thanks, now I done with translations. 

The second question, is when you are in the native language, and try to see all activities. I mean, when you go to permalink, you can see the image attached. Thats load your archive-tour.php in the template. That page, where I make translatable? I can't add this page from Appearance/Menu to create the direct access...

Regards.

Kelly R Support Agent
2 years ago

Hi,

I found mistakes in the theme file.

Please replace /archive-tour.php file and /languages/citytours.pot file with attachments and translate again.

Then you will find those words in pot file.

I did not understand your 2nd question clearly, but it is from WPML plugin, so you can not do it in CityTours theme.

Regards, C-Themes



Germán Torres
2 years ago

Hi!!! Thanks a lot for your support.

There are a few things I can't translate yet, even with WPML, some words you can see in the attached file.

Another question. There is any way to show the translated tour main page? I mean, if you go to pages, there is not exists any "tour" page. So I can't add int the spanish menu the access to the tour spanish page. (the permalinks is wordpress/tour/). So if I want to see spanish, I have to create a custom url with this: wordpress/tour/?lang=es. Is not a real problem, but I just wondering if there is any way to do that.

Best regards.

Kelly R Support Agent
2 years ago

Hi,

1. Please confirm you created a translated page for cart page and checkout page, etc. After that please set cart page, checkout page, booking confirmation page in theme options panel in default language.

2.  You should set all the configs in theme options panel in default language.

3. CityTours theme creates products when visitors book tour or hotel in website to use WooCommerce payment.

It is not issue.

4. CityTours theme has currency & language switcher widget and currency switcher and language switcher of screenshot was made by it.

5. CityTours theme has not feature to put language switcher in topbar. To do it, you should edit /header.php file in theme folder.

6. You can find /languages/citytours.pot file in CityTours theme folder and /languages/ct-booking.pot file in ct-booking plugin folder. You should translate strings based on those pot files.

Regards, C-Themes


Germán Torres
2 years ago

Hello,

I have some problems here. I bought WPML because it says "compatible with WPML" but apparently it is not fully compatible. 

First of all, I want to say that I am working locally. I have installed and correctly run the entire Site, everything works like a charm and I really love this theme.

I'm working with Woocommerce integration to make payments. Úp to this point everything works perfectly.

Woocommerce activated and integrated, tested without WPML and all works perfect.

The problems starts with WPML. 

PROBLEMS: 

1- When I install all the WPML components, everything seems to be fine. The problem beggins when try to make some reservation (PLACE YOUR ORDER feature) Then, when I go into the tour item page (eg, A tour for Paris), then I decided to set a different language like Spanish (English is the native) and when I clic on booking, I get Error page 404 (see attached image). If I go back to the English side, it works again. This is the first problem I have.

MY OBSERVATION IN THIS: 

So I tought that maybe it was because I should duplicate all the pages for each instance (place order, chechout tour, booking confirmation). So I went to City Tours options, then Tour settings, then change the language scheme and configure all the translated pages to try again. And eventually works, but not for long. When I go back to the native English language to test english side, the Error 404 shows again. Therefore, I think is a problem with the process of buying and selling with woocommerce integration. I NEED to make to work PLEASE. This is the main reason why I bought the template.

2- When I did all this I mentioned above, all things related with whishlist was gone!. Top bar whishlits text, gone. Wishlist section, gone. Wishlist page, blank. So I had to restore the entire Site and go back to make it works again. 

3- There is a problem with the products in Woocommerce. Every time I make a reservation (booking), Woocommerce duplicates every product in the list of products for each order was made. So, when I go to products, under Woocommerce (to left side menu of wordpress), and go inside, I have e.g. 15 equal products related to every time I make a test reservation. Also this affects search results. E.G.: I try to find some stuff, and clic on search icon, and type something like "paris", the search results show me 15 items to the same thing, and you have to consider the database is increased every time some product is created, because they were duplicated many times. 

4- I have another question. When I add the widget's language selector (WPML) and place it in the footer, I get this: (see image attached to the footer). Under "Currency Settings" appear a new selector with language options. Why this? 

5- When I try to place a language selector in the top bar, from the City Tour / top bar / custom link settings, where you place a sample text (Purchase it!), I want to place it on there the language selector of WPML. Please, see the image of the attached top bar. WPML Shortcode does not work and custom WPML php does not either.  

6- I need to translate some things, such as the Booking options on the right sidebar tour item, the filters of the sidebars and the options for other languages. I can not find how to do that anywhere in the template. 

I really need to solve all these problems. I'm working locally and I have to do this for next week and even start translating the rest because now I'm stuck with this. 

I sincerely hope you can help me with all this, I really like this template and I have to get to work. 

Best regards.