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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 12 replies, has 2 voices.

Last updated by Kor 6 months, 4 weeks ago.

Assisted by: Kor.

Author Posts
June 13, 2024 at 1:12 pm #15736363

bjornB-33

Background of the issue:
I am using WPML with the Uncode theme on my site hidden link. I have spent hours trying to set up the translation.

Symptoms:
Navigation points of different slugs like #vermittlung still appear in German and link to German subpages even after manual translation. Most buttons on the website have the same issue.

Questions:
Is it possible to change the design size of the dropdown of the language switcher?

How can i fix the Navigation Issue? the #parts of the navigations are still german and link also to the german site 🙁

June 13, 2024 at 1:23 pm #15736454

bjornB-33

additionally the buttons are not translatet as well and not linked to the english page

June 13, 2024 at 2:20 pm #15736792

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hello,

Thank you for contacting us. Typically, button links are translated using the Advanced Translation Editor. Could you please attempt the method outlined here and see if it resolves your issue? You can find the instructions at: https://wpml.org/announcements/2020/02/translating-links-with-advanced-translation-editor/

Regarding styling the dropdown language switcher, could you provide a rough idea of how you would like it to appear? I believe I can assist you with this.

June 20, 2024 at 6:03 am #15761060

bjornB-33

Re #2 (styling the dropdown language switcher):
Image 1 shows how it looks like now
Image 2 shows how we like to have it set up

Differences:
-Transparent background
-Font same size as currently chosen language
-Alternative language directly below currently chosen language
-Less distance between options

Please let us know how to achieve the desired result. Thank you!

Image 1.png
Image 2.png
June 20, 2024 at 6:33 am #15761306

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

June 30, 2024 at 5:21 pm #15862968

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Please try inserting the custom CSS code below into WP > Appearance > Customize > Additional CSS. It should look like the attached if it works.

.submenu-dark .menu-horizontal .menu-smart ul {
    background-color: transparent;
    margin-left: 0px!important;
    padding: 0px;
    top: 70%;
}

span.wpml-ls-native {font-size: 22px!important;}

.wpml-ls-menu-item a.cursor-init {padding:0px!important;}
Screenshot_2.png
July 8, 2024 at 2:48 pm #15914120

bjornB-33

Hey Kor,

It's still not working. Most of the links are broken, and those links do not appear in the string translator. Could you please have a closer look? Maybe there is an option that we can search and replace all the links at least?

Thanks for your assistance.

Best,

July 8, 2024 at 5:05 pm #15914776

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

It looks like you've not translated the navigation menus yet and I've done it for you. Now, go to this link hidden link and correct the links and menu item titles so that it displays correctly on your English Language navigation menu.

Let me know once you've done that so that I could check further.

July 9, 2024 at 8:28 am #15918984

bjornB-33

Hey Kor,

great thanks! Thats works, I still have the problem with the buttons though unfortunately.

July 9, 2024 at 8:28 am #15918986

bjornB-33

I meant the buttons on the english site.

July 9, 2024 at 9:36 am #15919515

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response.

I noticed that you've switched to using the "WordPress Editor" for manual translations. Here are the steps to manually change the links on the English Language page: hidden link

Alternatively, if you opt for the WPML Translation Editor, you can translate the links using the method outlined here: https://wpml.org/announcements/2020/02/translating-links-with-advanced-translation-editor/

July 14, 2024 at 8:02 am #15949653
bjornB-33

Dear Kor,

Many thanks for your support so far!

Re the language switch button, it looks much better now. However, the faded-in options for other languages
(a) appears relatively far away from the language switch button, and
(b) these options are not exactly the same size as the Language Switch button, but are slightly smaller.

We have simulated this in the graphic below (once the current status, once how the option should look).

Kindly ask you for further assistance in order to receive the desired outcome like in the graphic attached.

Thank you!

New threads created by Kor and linked to this one are listed below:

https://wpml.org/forums/topic/language-switcher-styling-issues-with-uncode-theme/

Language Button (desired).png
Language Button (currently).png
July 15, 2024 at 9:36 am #15953257

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your reply.

Upon review, it appears that the styling issues are quite complex, and I recommend contacting your theme author for assistance. Meanwhile, I have divided the ticket into two parts: one focusing on the language switcher styling concerns, which you can find here https://wpml.org/forums/topic/language-switcher-styling-issues-with-uncode-theme/ Please feel free to mark this current ticket as resolved.

The topic ‘[Closed] Assistance Required for WPML Issues with Uncode Theme’ is closed to new replies.