Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

Tagged: 

This topic contains 10 replies, has 3 voices.

Last updated by Itamar 1 year, 4 months ago.

Assisted by: Itamar.

Author Posts
February 2, 2024 at 8:43 pm #15261191

philipF-12

I am trying to:
Translate the entire website. The issue seems to be with VIK module mostly, where if you search for a car on the next page the /it/ for Italian ( example) would be removed.

Link to a page where the issue can be seen: freewaysmalta.com

I expected to see: Translated website

Instead, I got: Partially translated website

February 2, 2024 at 9:57 pm #15261389

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

While waiting for one of my colleagues to help you, I reviewed your site and could reproduce the behavior.

While in the IT version of the site, I search for a car inputting my pickup and dropoff time and once I click on the button it does take me to the default language version.

Even though I can verify that the search pages have been translated:

hidden link

hidden link

I do notice that it's calling index.php, please share some more information with us regarding the search module.

Is this created using custom code? When I review your plugins I am not able to see a plugin from VIK

hidden link

February 3, 2024 at 1:45 pm #15262133

philipF-12

Hi, Thank you for your quick support.
My apologies, I made a mistake when writing the support request.
You are completely right, we replaced VIK with this plugin: hidden link

Full list of plugins is:
Advanced Database Cleaner
Car Rental Booking System for WordPress
Child Theme Configurator
Classic Editor
Complianz | GDPR/CCPA Cookie Consent
Easy WP SMTP
Elementor
Elementor Pro
ElementsKit Lite
Envato Elements
Essential Addons for Elementor
Image optimization service by Optimole
Jeg Elementor Kit
Jetpack
Maintenance
MetForm
Plesk WP Toolkit remote management plugin
Rank Math SEO
Rank Math SEO PRO
Robots.txt Editor
Simple Cloudflare Turnstile
Super Page Cache for Cloudflare
Temporary Login Without Password
Wordfence Login Security
Wordfence Security
WPML Media
WPML Multilingual CMS
WPML String Translation

The way that plugin works is that it creates it's own pages, and then the widget calls on those pages. ( See screenshoot fo the main search bar)

There is no custom code besides the one provided by WPML ( to get floating flags, however the part that is supposed to remove them from the footer also isn't working)

Thank you for your assistance

Screenshot 2024-02-03 144502.png
February 4, 2024 at 4:27 pm #15263662

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I'll continue to help you with this issue.

The Car Rental Booking System for WordPress plugin is unknown to us. It is not on our list of officially compatible plugins here: https://wpml.org/plugin/. So, you might be facing a compatibility issue.

However, when I check your site now and follow the same steps as Bobby, my colleague, described, I see that it works. I get the search results on the Italian page. Please see the attached screenshot.

Can you please confirm it is working?
Have you solved this problem already?

Regards,
Itamar.

2024-02-04_18-07-05.jpg
February 5, 2024 at 7:02 pm #15268180

philipF-12

Hello Itamar,
The issue isn't solved sadly.
From the home page when i search for the car, it asks for time, location ... and calls for this page: hidden link .
The issue is that search module calls for the url, so if the language is Italian for example the it would be removed from the URL.
I asked the support of the car rental booking plugin as well, they said I need to create a separate search module for each of the languages, but since the language is changed dynamically ( I don't have 4 different pages) I am not sure how can that be done?

Thank you

February 5, 2024 at 8:20 pm #15268339

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

In Settings -> Permalinks, the custom structure of your site's permalinks is:

/index.php/%year%/%monthnum%/%day%/%postname%/

Why do you need the index.php in the beginning?
Is it necessary for anything?
If not, then please try to remove it so that the permalink will be like this:

/%year%/%monthnum%/%day%/%postname%/

Can you try and see if it helps?

Regards,
Itamar.

February 6, 2024 at 11:51 am #15271215

philipF-12

Thank you Itamar,
I can try to do that but it would have some impact on my site,
Before proceeding with it can you please let me know what is the expectation from this activity?
If I change the URL I would still have to change it in the Elementor search module ( see screenshot) so I think it would be acting the same?
Thanks

February 6, 2024 at 11:52 am #15271219

philipF-12

Screenshoot

15262133-Screenshot_2024_02_03_144502.png
February 6, 2024 at 5:56 pm #15273373

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

You asked: "Before proceeding with it can you please let me know what is the expectation from this activity?"

The expectation is that the search option on the Italain homepage here hidden link will work and the user will not get redirected to hidden link

You wrote: "If I change the URL I would still have to change it in the Elementor search module..."

Yes, this is correct. You will also need to change it in the Elementor search module.

I based this request on past experience in such cases. Also on a redirection that I can see from the English (default language) homepage. The direction is from hidden link to hidden link. Please see the attached screenshot.

It would be great if you could try my suggestions and see if it helps.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****

Regards,
Itamar.

2024-02-06_19-46-12.jpg
February 11, 2024 at 6:30 pm #15290490

philipF-12

Thank you I will proceed to do the change then.
Before I do so, just fo confirm There is also the issue that some modules are not seen by WPML. Some Elementor widgets were not translated ( I replaced them with native Elementor once and they are fine now) , however, the Booking form is still having an issue.
Even if I force the language, it's not being translated.
Also if I try to modify the page, I can see that all the words on the page are not actually seen.
Do you think that is also affected by index.php ?

Thank you

d2.png
d1.png
February 12, 2024 at 10:20 am #15292141

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

No, this other issue you bring is probably unrelated to this ticket's /index.php/ issue. It is related to custom Elementor elements that are not translation-ready by default. Translation support is needed to be able to translate those elements. We mention this in our guide for developers here.

https://wpml.org/documentation/plugins-compatibility/elementor/how-to-add-wpml-support-to-custom-elementor-widgets/

If you need further help with this other issue, please create a new ticket in our support forum, and one of our supporters will help you with it.

Regards,
Itamar.

The topic ‘[Closed] Vik Rent a Car module is not translating.’ is closed to new replies.