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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Andrey 2 months ago.

Assisted by: Andrey.

Author Posts
October 10, 2024 at 7:30 am #16273152

Juan

Background of the issue:
Our authors are from different countries, and we display their news. The main page is in English (hidden link), and on the right, we show a list of countries with their names and flags. I have configured the translation of all 'authors domain' in both 'display name' and 'nickname' using the 'String translation' page.

Symptoms:
When I view the Spanish version (hidden link), the countries are not translated.

Questions:
How can I get the translations of the countries to show on the Spanish version?

October 10, 2024 at 7:11 pm #16276765

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for contacting WPML support.

Do I correctly understand that those countries are the authors? How do you display them on the right of the homepage?

October 11, 2024 at 8:28 am #16278040

Juan

I created this site many years ago and I did not remember how it was done. I entered the widget area and saw that it is a missing "legacy widget". So I created a new one and using the icl_t function I was able to translate the countries name.
However, I could not translate the word "Countries" into Spanish. In the string translation screen, looking under widgets translations, I found widget title = "Countries" and I added the translation, but it did not work. Where can I translate it?

October 11, 2024 at 10:12 am #16278537

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Maybe you can create a separate widget for "Countries" and translate it to Spanish, and then display the widget in each language. Here are more details: https://wpml.org/documentation/getting-started-guide/translating-widgets/#using-different-widgets-for-different-languages

October 14, 2024 at 9:08 am #16284657

Juan

Because I was not able to translate the word "countries" (!?) and I did not want to duplicate widgets for five languages, my decision was to do not shown an English word, but an icon. I wonder why it was not possible to translate the title of a widget with WPML.

October 14, 2024 at 10:14 am #16285112

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for your feedback. You can translate it using WPML → String Translation. Due to compatibility issues with the widget, the translation may not appear. Have a great week.