Skip Navigation

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

Problem:
The client is trying to translate the header menu and link the categories to the translated language pages in French. They are unsure if they need to include a string of letters and the '&' sign, which appears when translating accented French characters, in the string translation box for the header menu.
Solution:
We updated the slug translation in the WPML-> Settings-> Taxonomy Translation section from "catégories-produits" to "categorie-produit". We recommend the client to edit the translated menu, add the translated URLs, save the translated menu, and clear the site's cache to see the changes on the front end. For further assistance, please check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists or the solution provided here is not applicable, we highly recommend opening a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 35 replies, has 2 voices.

Last updated by Osama Mersal 5 months, 4 weeks ago.

Assisted by: Osama Mersal.

Author Posts
May 29, 2024 at 10:41 pm #15685533

bonnieK-2

Hi Osama, I think I got it. The support person, who I had a zoom call with yesterday, had me change the parameter setting on my site. I can get to the new urls by going to the English pages and using the language shifter. Let me see how it goes with changing the urls in the string translations and the appearance menu of all of the pages and I will get back to you.
Thank you,
Bonnie

May 29, 2024 at 11:07 pm #15685541

bonnieK-2

Hello again Osama,
Weeeeeeeee! fixed! Oki, I am good to go and we can close this ticker.
Thank you for your support,
Bonnie

May 30, 2024 at 7:27 am #15686159

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Bonnie,

It's great to hear that the issue is fixed 🙂 . Please don't hesitate to open a new ticket if you face any other issues. We are always happy to help you.

Have a great day!

Best regards,
Osama

May 30, 2024 at 6:54 pm #15689782

bonnieK-2

Hi Osama,
We are not done with this problem, unfortunately. Last night before I turned off the computer, everything was fine. Now this morning, here is a screenshot of my English header. You will note that, not only are all the English menu categories gone, but that the Absolute header is now in French, on the English home page. I had noted this absolute header problem yesterday as well, and changed the text from French to English in the Flatsome header editor and saved it. It changed to English and both the English and the French menus were correct. As I said, Everything was fine yesterday and I checked the site in in three browsers. I am not going to try to fix anything today, so you can take a look at it and tell me what is going on. The problems are
1) The English Header is gone and seem to have no urls
2) The absolute header turns from English to French for some reason

Note: could this problem have something to do with changing my language parameters the other day with tech from WPML on zoom? I do not remember if he had me save the permalinks in settings. I did not do anything new on the permalink screen, including not clicking saving, because I did not want to change anything, so you could take a look at the original problem that I had this morning.

I look forward to your reply,
Bonnie

May 30, 2024 at 7:08 pm #15689923

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I can see the header correctly in both languages. Would you please share screenshots of the issue.

Best regards,
Osama

2024-05-30_22-06-04.jpg
2024-05-30_22-05-40.jpg
May 30, 2024 at 7:20 pm #15689975

bonnieK-2

Hi Osama, Well my mind is blown! I just checked in and saw this too. Here is the screen shots from an hour ago from my laptop. I first notice the problem on my desktop, not from being on the actual site, but from the wordpress dashboard where there is a preview of the live site. On that computer, caching is disabled in the browser, so it was not a cached page that I was viewing, either the preview or the wordpress dashboard page. I found the captured view on my laptop too. Now on my laptop all is good except, as you will note, that the absolute header is still in the wrong language on the English page. Yesterday, I saved it and it displayed in English all day.
Also the zoom tech had me change from parameters to directories
Thank you for any illumination
Bonnie

Screenshot (188).png
Screenshot (187).png
May 30, 2024 at 7:43 pm #15690028

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Bonnie,

Please translate the top bar strings and check if that fixes the issue. (hidden link)

Best regards,
Osama

May 30, 2024 at 8:05 pm #15690066

bonnieK-2

Hi Osama,
Yes, that worked! Thank you. Do you have any insight on missing menu, in English, earlier in the day? I am not going to close this ticket, in case it happens again tomorrow. If it does happen again. Are there any screenshots, of any setting pages, that you would like me to take for you?
Thanks again, Bonnie

May 30, 2024 at 8:21 pm #15690105

bonnieK-2

also, attached are screenshots of my Flatsome absolute header editing page and the string translation page that you asked me to edit. Why is the French taking precedence over the English on both these pages?
Thank you

Screenshot (190)A.png
Screenshot (189).png
May 30, 2024 at 8:28 pm #15690137

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Bonnie,

1) The header issue that happened earlier could be server or site caching because when we checked it later, the header appeared correctly.

2) It depends on how you added the strings in Flatsome settings. However, these kind of strings are translated via String Translation.

Best regards,
Osama

May 31, 2024 at 8:52 pm #15694100

bonnieK-2

Greetings Osama, I feel we are getting close to a total solution ;D The main header is showing fine in both English and French today. What is not working is the Absolute header text in French. Here is a screenshot of the French site. Note the header text is in English. Also a screen shot of the string translations for admin_texts_theme_mods_flatsome-child which show French as the main language and English as the language in which to translate. It should be the other way around.......Yesterday, I put French in the English translation box on the right and it displayed correctly on the French page. But it seems the program caught on that this was not proper and reverted back today ( see screenshot) Please advise me what to do in order to get English as the main language and French as the language to translate for these strings.
Thank you!
Bonnie

Screenshot (193).png
Screenshot (192).png
Screenshot (191).png
June 2, 2024 at 8:43 am #15695226

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Bonnie,

Sorry for the late reply. I deleted the strings from String Translation and re-added them. Please translate them and check if they work correctly. (hidden link)

In order to translate Admin Strings, please check the following steps:

1- Go to WPML-> Theme and plugins localization, select your theme/plugin, and scan
2- Go to WPML-> String Translation
3- Scroll down and click on the "Translate texts in admin screens »" link
4- Search for the needed strings
5- Select the strings
6- Click on the "Add to String Translation" button
7- Then click on the "« Return to String Translation" link
8- Translate the strings, clear the cache, and check the front end

Kindly check our guide to know more about translating texts in the admin texts screen. (https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/)

Best regards,
Osama

June 4, 2024 at 12:10 am #15699454

bonnieK-2

Hi Osama,
I am offline a lot these days, as I am off-grid at my farm, where we are in planting season. I came into town this afternoon and was working on some business. The changes that you had made to the English strings showed up on the absolute header. When I got around to translating the strings this is what happened: screenshots. As you can see the English menu has disappeared again, the English language absolute header is again in French. Everything seems fine at the string translation page:
(hidden link)

I don't think this is a caching issue because, as I wrote above, everything was fine until I edited the strings in French. The problem exists in ALL my browsers, including the two on my phone.
I am at a loss, please help.
Thank you,
Bonnie

Screenshot (283).png
June 4, 2024 at 12:11 am #15699469

bonnieK-2

Screenshot of French language site with changes to strings

Screenshot (284) a.png
June 4, 2024 at 12:20 am #15699484

bonnieK-2

Do you think this could be the problem (see screenshot). If so, I will ask the freelance developer who is helping me to look into it.

Screenshot (285).png