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 |
---|---|---|---|---|---|---|
- | - | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 |
- | - | - | - | - | - | - |
Supporter timezone: America/Lima (GMT-05:00)
Tagged: Compatibility
This topic contains 21 replies, has 2 voices.
Last updated by Andreas W. 5 months ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
July 6, 2024 at 1:51 pm #15903353 | |
gabyR |
Background of the issue: Symptoms: Questions: |
July 6, 2024 at 2:04 pm #15903429 | |
gabyR |
After applying everything you asked me during creating the ticket, the language switcher disappeared totally on all pages! |
July 6, 2024 at 5:21 pm #15903876 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, It looks as if those menus have not been translated yet. If all your pages have already been translated and published you can use the option WPML > WP Menus Sync which will automatically create the menus in all languages. Please read this documentation, follow the suggested steps, and let me know if further assistance is needed: Further, if you are using the Divi Theme Builder to create Header, Footer, and Body Templates you will need to translate them with WPML's Translation Management. Guide: Best regards |
July 7, 2024 at 10:21 am #15907022 | |
gabyR |
I read (again) the starter guide for translating menus, but I still don't understand what you mean. The language switch between german and english works perfect for all menus because there a pages for german *and* english. But there are *no* pages except of one contact page for chinese. So I can not provide a chinese translation and there should be no main menu! For the footer menu, the english footer menu should be used. I tried to add a chinese main menu using the plus button as described in above documentation. This main menu has no items. But again the chinese page shows entries - others than before - in the main menu - see hidden link. |
July 7, 2024 at 10:56 am #15907096 | |
gabyR |
I could solve the problem concerning the chinese footer menu. As I can't select the english pages to add to the menu under Appearance - Menus I created a menu using custom links to the english pages. Not ideal, but it works without duplicating all english pages. Still open is the problem how to get rid of any entries in the chinese main menu. There are no items in the menu, but nevertheless two links are shown on the page. They show different chinese signs but link to the same page. |
July 8, 2024 at 7:11 am #15910410 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Indeed, creating custom menu items is the only solution in this case, as menus in a second language can only link to pages that were created in the active language. I would suggest you do the same for the Chinese Main Menu. Please take kindly note that my working days are from Tuesday to Saturday. Details: I will be glad to assist you as soon. Best regards |
July 9, 2024 at 3:21 pm #15921738 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Please let me know if you need further assistance and I can offer to enable a private reply form in which you can provide admin access to the site. |
July 10, 2024 at 3:53 pm #15929058 | |
gabyR |
Thank you and sorry for my late answer - I'm only partly in the office this week. In fact I still need help. In the meantime I'm having even more problems with the chinese version than before. I tried many versions for the main menu, but regardless if it does not exist at all or it is emtpy, I always get entries in that menu. Where do these entries come from (perhaps there is a database entry which I could delete?)? And how can I define a menu without entries for a specific language? Is there any possibility with WPML? I would also be glad, if you could provide me with a corrsponding function which I can put in my child theme's functions.php. I also though about removing Chinese completely from the language switcher and add the only one chinese page to the top menus of EN and DE. But then, the footer menu in chinese would be missing. I could also provide you with admin access if you send me the corresponding reply form, but I'm not back before monday. If you like, you can also close the ticket and I will reopen it next week. Regards, |
July 11, 2024 at 2:34 am #15931271 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello Gaby. I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further. You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it. IMPORTANT The private response form looks like this: Next time you reply, click "I still need assistance." Video: Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form. Best regards |
July 16, 2024 at 12:54 pm #15960635 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
There is an additional server protection asking me for an additional username and password before reaching the site's login form. I have enabled the private reply form again so that you can provide me with access. |
July 17, 2024 at 7:22 am #15964307 | |
gabyR |
sorry, I thought I gave you already the HTTP credentials: User is... ***CREDENTIALS REMOVED BY SUPPORT AGENT*** |
July 17, 2024 at 9:56 am #15965384 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
You still need to create a Chinese translation for your menu. See screenshot. This way you will be able to add custom links or add dynamically Chinese pages that already were translated. |
July 17, 2024 at 10:43 am #15965667 | |
gabyR |
I added a chinese translation of the main menu with no menu items, but despite of that it shows me a chinese menu item which links to the german(!) homepage together with the search icon. But I don't want either of them, I do not want a menu at all. |
July 17, 2024 at 11:59 am #15966026 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
According to HTML markup, this entry comes from the top menu. This seems to be a bug, but let me ask you: Why do you have an entry in the top menu (secondary menu) that links to Chinese using a WPML flag? This is covered by the WPML language switcher, as the Chinese Homepage is translated. I would recommend removing this custom link from the menu. |
July 18, 2024 at 1:28 pm #15972779 | |
gabyR |
I removed the custom link with the chinese flag from both, the german and the enlish top menu. But then there is no chinese flag at all and I can't select the chinese language. Actually I don't know why this flag was set as a custom link to the top menus, because I took this site over from another agency 2 years ago, who created the menus. Now I had to change part of the menus and ran into these problems ... |