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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 10 replies, has 2 voices.

Last updated by Noman 2 years, 8 months ago.

Assisted by: Noman.

Author Posts
April 7, 2022 at 1:14 am #10968613

ronaldT-5

Setting up top bar language translation horizontally instead of current vertical display. Also, I have yet to find a way to translate the top bar text.

Is there any documentation that you are following? No

Is there a similar example that we can see? no

What is the link to your site? hidden link

Capture3.jpg
April 7, 2022 at 7:42 am #10970181

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. If you want to display a language switcher horizontally then you need to use the ‘List of languages’ option instead of dropdown from WPML >> Languages > Menu language switcher > Language switcher settings as you can see in the attached screenshot.

If you have added top bar text from Customizer/theme options then you should be able to translate it by following the below steps:

1. Please go to WPML >> String Translation and click on the “Translate texts in admin screens” link from the bottom of the page.

2. Search for the topbar string in the search box and select the checkbox of your required string and press the Add to String Translation button.

3. Now you can add the translation from the WPML >> String Translation page.

Here is a doc:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#strings-arent-selected-for-translation

Thank you

list of languages.jpg
Edit language switcher settings.jpg
April 7, 2022 at 2:05 pm #10973723

ronaldT-5

Okay, I got the text string translated. Now, tell me why my language switcher doesn't display properly even though I have done exactly as suggested. I am not using the dropdown option. I have tried the dropdown option, and that option doesn't work either. Something is screwing up things here. Can't you see? Look at the attachment again. Does it look like a dropdown menu with a down arrow???

April 9, 2022 at 8:59 pm #10987211

ronaldT-5

I was able to fix it. I had to alter the custom CSS code I utilized in the past with Polylang.

April 10, 2022 at 7:05 am #10988467

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sorry for the delay in getting back, it was my weekend (Friday-Saturday). I’m available from now and if you are still facing any issues with the language switcher, please let me know.

Thank you for your cooperation and understanding

April 10, 2022 at 9:14 am #10988619

ronaldT-5

Hi Normand, everything is fine now. The only thing I find strange is that almost every time I go back into the menu language switcher settings the menu type comes back to DROPDOWN, removing my earlier setting of LIST OF LANGUAGES.

Capture.JPG
April 10, 2022 at 9:33 am #10988703

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Ok that is a bit odd. To take a closer look at this issue, Please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private which means only you and I have access to it.

=== Please backup your database and website ===

✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.

Thank you

April 12, 2022 at 6:54 am #11000469

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Ronald,

I am waiting for the login info. Please send me that. Once I have the login I can better debug this issue and possibly find a solution to this issue.

I am looking forward to your kind response.

Thank you

April 12, 2022 at 9:09 am #11001529

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for providing the login details. This seems like a bug, changes are being saved correctly in the database and working correctly at the frontend but it shows the wrong values at the backend.

I’m going to reproduce it at a fresh WP site and then escalate it to 2nd tier support for further debugging.

Thank you for your cooperation and patience

April 12, 2022 at 10:10 am #11002245

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I’m able to reproduce it at the fresh WP site here:
hidden link
And escalated to the development team.

From the support end, I have done everything I had in my power. I hope the development team can solve it as soon as possible. Can you please consider changing the ratings by marking the ticket as resolved?

I will change the ticket status again and will update you as the dev team will make progress.

Thank you for your cooperation and help.