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 15 replies, has 2 voices.
Last updated by hannesH-9 3 years, 4 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
September 22, 2021 at 6:03 am #9633561 | |
hannesH-9 |
I am trying to: Link to a page where the issue can be seen: I expected to see: Instead, I got: Please take a look at the video hidden link it contains all the details |
September 22, 2021 at 9:04 am #9635221 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for contacting WPML forums support. I’ll be glad to help you today. Thanks for the video. I would need to take a closer look at your site. So I would need to request temporary access (WP-Admin and FTP) Your next answer will be private, which means only you and I have access to it. ❌ Please backup your database and website ❌ ✙ I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical. ✙ I would also need your permission to take a local copy of your site to debug the issue without affecting your live site. Thanks for your cooperation Regards, |
September 22, 2021 at 12:48 pm #9637763 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for the access details. I've installed a local copy of your site in order to debug it without affecting your site. I've found that you have many menus in the translated languages. (Kindly check this hidden link) So I've deleted all the menus from all languages, created a new English menu, and translated it without issues. Also, I've duplicated the blog pages because it wasn't translated to all languages. The above steps fixed the issue on my local installation. Could you please try them on your site and let me know if that fixed your issue? Thanks, |
September 22, 2021 at 2:07 pm #9638655 | |
hannesH-9 |
Hi Osama, did you touch the test.agreedo.com environment. Because it now looks just like your screenshot 🙂 Furhtermore I see this on the WPML Sync screen: I fear that when I again hit WPML Menu Sync it will duplicate the menu items. So where would I need to delete menus? (There is just the primary menu?) Or should I also delete this? How did you duplicated the blog pages? Do I need to check the duplicate checkbox (see screenshot) for every blogpost. I am only asking because it will take a lot of effort 🙂 |
September 22, 2021 at 2:15 pm #9638753 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, 1) I didn't change anything on your site. I've just installed a local copy of it to debug the issue. 2) On my local copy, I deleted all the menus from all languages. (Kindly check this video hidden link) 3) In order to duplicate the page, you need to check the box on your screenshot and click on the duplicate button. Please note that I've duplicated the blog page (Pages-> All pages-> Blog page), not the blog posts. I hope this helps you. If you need further info, please let me know. Best regards, |
September 22, 2021 at 2:54 pm #9639271 | |
hannesH-9 |
So to get the blog posts duplicated I need to duplicate all blog posts right? |
September 22, 2021 at 3:00 pm #9639285 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, 1) You don't need to duplicate all of your blog posts, or at least it's not related to our issue. 2) I've duplicated the page because it's a menu item and needs to be translated in order to appear correctly on the translated menus. (Kindly check this hidden link) I hope that clarifies the issue. If you need any further info, please let me know. Kind regards, |
September 22, 2021 at 3:25 pm #9639481 | |
hannesH-9 |
Hi Osama, first of all let me say thank you! You helped me a lot. The video was very helpful. After hitting "WPML Menu sync" it now says. When I open up the String Translations I see: Which is quite strange for the following reasons: 1) The table does not show all menu items So if you could help me here, too that would be great |
September 22, 2021 at 3:33 pm #9639561 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, I could see the menu is translated correctly in the front end. If you use custom links on the menu, you would need to translate them using the WPML-> String Translation, for example, the login URL and the login string. If you visit this page, you will see the login button is not translated. (hidden link) Kindly check our guide about translating menus to know more about that. (https://wpml.org/documentation/getting-started-guide/translating-menus/) I hope this helps you. If you need further info, please let me know. Best regards, |
September 22, 2021 at 6:03 pm #9640077 | |
hannesH-9 |
Hi Osama, it happened what I already expected. Thus after translating of all the texts: and returning to WPML Menu Sync, it still says there is the need to translate custom strings: Can you please investigate what causes this problem? |
September 22, 2021 at 7:09 pm #9640637 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, The message on the Sync Menu page is like a notification, not an error message. If you changed anything in the English menu, you would be able to Sync the menus correctly. The button is greyed out because the menus are synced correctly now. Thanks, |
September 24, 2021 at 6:20 am #9651679 | |
hannesH-9 |
Hi Osama, now I deleted all menu* translations in string translations. The notification has vanished. Now my problem is: Then I opened the WPML Menu Sync menu: (btw. you still got admin access). Furthermore you can see on the screenshot that blog is _not_ translated in Russian language. But it actually appears translated in the website: I understood WPML Menu sync to work as follows: But the string translations table is empty (regarding the domain menu): So my questions are: 1.) Where is the Russian translation for blog defined? |
September 24, 2021 at 8:06 am #9652411 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, 1) The notification has vanished because you don't use any custom links in the menu. If you use custom links, you will see the notification again. 2) When you changed the label to featured 1, it doesn't change the menu sync because it's a label, not a new item. In order to translate the label, kindly click on the "pen" icon to translate it. (Kindly check this hidden link) 3) The Russian blog label is defined in the Russian menu. (Kindly check this hidden link) 4) WPML would create the strings after deleting them if you use custom links or HTML blocks in the menu (Some themes use that). For testing, I've added a custom link and deleted it from the menu. (Kindly check this hidden link) I hope that answers your questions. Would you please let me know if you need more info? Regards, |
September 24, 2021 at 8:56 am #9652793 | |
hannesH-9 |
Hi, thanks again for your fast response: reg. 1.) We never used custom links. Thus this link should have never appeared. I am almost 100% sure that it vanished in the moment when I removed the menu entries in string translations. But ok, it is now as it should be reg 2.) Ok, so I misunderstood what "sync" actually means. Fine foreme. Thanks reg. 3) same as 2.) thanks reg. 4.) Thanks. I removed the test item, but editing the original menu, then synced, then removed the strings from the string translations. Correct? Best regards |
September 24, 2021 at 9:03 am #9652863 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi Hannes, I'm glad I was able to answer your questions. Yes, that's the correct order of actions. Kind regards, |