Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing an issue where switching to a non-default language on their online courses website results in incorrect URLs for the courses. Additionally, the client is unable to find certain strings for translation in the WPML String Translation section.

Solution:
For the URL issue, we recommended checking the theme's documentation regarding WPML compatibility, which states that languages by parameters are not supported. We advised the client to change the URL format to 'directories' in WPML > Languages > Language URL format and then resave the permalinks.

Regarding the string translation issue, since we handle only one problem per ticket, we provided a link to our documentation on how to find strings that don't appear on the String Translation page: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#auto-register-strings-for-translation

If the provided solution does not resolve the issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket in our forum: https://wpml.org/forums/forum/english-support/

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.

This topic contains 5 replies, has 2 voices.

Last updated by ahtoL 3 years, 3 months ago.

Assisted by: Alejandro.

Author Posts
January 5, 2022 at 4:14 am #10288903

ahtoL

Tell us what you are trying to do?

I am creating a website for online courses. Everything was working fine till yesterday but now i am facing a problem when I switch language version of website.

If i switch to language other than default language, then it is showing a wrong URL for courses.

Here is what the URL is right now:

hidden link

Here is how the URL should be:

hidden link

How can i fix the URL for courses?

2nd Question:

I am trying to find few strings on website to change but they are not showing on string translation section. Some of strings are automatically changed to 2nd language which is Russian but for default (Estonian) and English version it is showing the same.

Where can i locate those strings to translate?

List of strings is attached with this support ticket.

Can also provide login information so you can check it.

Your early reply on this is highly appreciated.

Have a good day.

WhatsApp Image 2021-12-31 at 4.10.00 PM.jpeg
January 5, 2022 at 2:59 pm #10292957

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Please check the documentation that the theme provides about WPML: hidden link

You can see it states that languages by parameters is not supported which might be why you're getting that error.

Can you try changing the URL format to URL by directories in WPML > Languages > Language URL format and resave the permalinks to see if the problem continues?

--------------------

About the second question, we handle only one problem per ticket so if the problem continues, i'll split the ticket and continue working there.

Try this method and see if it works on your end: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#auto-register-strings-for-translation

Regards.

January 5, 2022 at 11:07 pm #10295573

ahtoL

Bro, if it languages by parameters are not supported then how it was working before? what makes you think i did not follow the documentation?
It is clearly a problem with WPML because WPML is handling the URL parameter but WPML is generating wrong URL. It is not about theme it is about WPML plugin. I do not understand why you people do not provide the actual solution. I asked the same thing from stylemixtheme support and they say it is WPML problem and you guys are saying it is theme problem.

Do you people ever look at the problem?

I followed the documentation and also resave the permalinks but the problem is still there.

Please tell me what to do?

Regards,

January 8, 2022 at 12:57 pm #10310243

ahtoL

Its been 2 days and there is still no support.

January 8, 2022 at 4:54 pm #10310781

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Sorry for the delay on the answer but the last 2 days were holidays.

I don't know why it was working before but the authors of the plugin mention that the parameter setting won't work, here on their guide about WPML: hidden link

I recorded myself to explain it, in case it helps: hidden link

It's quite clear from what's stated there that they will not handle that setting, they don't support it so i'm not sure if it was something recently added and i can't answer why would the stylemix team tell you it's WPML's problem, but as you can see, the issue you're having is kind of expected at this point.

I do not intend to want to blow you off or anything, i was researching why this could happen and came accross their documentation which was quite explicit about this.

I'd suggest you show this to the stylemix team and ask them if they could reconsider supporting that setting with their plugin, but in the meantime it might not work.

Regards.

January 12, 2022 at 9:45 am #10333821

ahtoL

My issue is not resolved. Thank you!