Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client needed assistance with translating category descriptions using the Flatsome theme.
Solution:
1. Edit the category in the default language.
2. Click the update button.
3. Switch the language from the top admin bar.
4. Add/Translate the custom meta fields.
5. Update the translated category.

Additionally, we requested the client to share their Debug information to better understand their site configuration. For instructions on how to provide this information, please follow this link: http://wpml.org/faq/provide-debug-information-faster-support.

If this solution doesn't look relevant, please open a new support ticket here.

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 11 replies, has 3 voices.

Last updated by Osama Mersal 1 year, 6 months ago.

Assisted by: Osama Mersal.

Author Posts
November 21, 2023 at 11:10 am

flavioG-2

translate flatsome category descriptions

November 21, 2023 at 12:25 pm
November 22, 2023 at 9:27 am #14894611

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Please try the following steps:

1- Edit the category in the default language
2- Click the update button
3- Switch the language from the top admin bar
4- Add/Translate the custom meta fields
5- Update the translated category

Kindly let me know if the above steps helped you fix the issue.

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me much information about how your site is configured.

Best regards,
Osama

November 23, 2023 at 1:01 pm #14908143

flavioG-2

Thanks for your message,

No, unfortunately this does not work and the category text is not automatically translated.

I can just save a translated text manually, that's no problem

November 23, 2023 at 1:27 pm #14908493

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for your update. These category fields are not automatically translated. The mentioned steps are to manually translate them as a workaround.

I translated a category. Please check if it works correctly. (hidden link)

Best regards,
Osama

November 23, 2023 at 2:26 pm #14908987

flavioG-2

Hi

I now see that only the first chapter has been translated (EN), but not the rest of the page (NL). An example is in the attachment.

Best Regards
Flavio

Schermafbeelding 2023-11-23 152345.png
Schermafbeelding 2023-11-23 152300.png
November 23, 2023 at 2:33 pm #14909187

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Flavio,

Thanks for your update. I translated one paragraph to check if the translation would work correctly. Please translate the whole text in the field and update the English category.

Best regards,
Osama

November 26, 2023 at 3:34 pm #14925223

flavioG-2

Okay thanks for your message,

But the question is can I automatically translate using the plugin wpml or do I always have to translate the category text manually?

Best regards,
Flavio

November 26, 2023 at 5:22 pm #14925611

Mohamed Sayed

Hi Flavio,

Osama will be away for a few days, so I will be glad to help you.

Since the description is coming from custom fields that are not detected in WPML> Taxonomy Translation, they won't be translated automatically.

You need to create the translation for this description manually by following the steps mentioned here: https://wpml.org/forums/topic/translate-flatsome-category-descriptions/?log=view_ticket#post-14894611

Kind regards,
Mohamed

November 28, 2023 at 12:19 pm #14938973

flavioG-2

Thanks for your message,

The workaround you provide does not work, it is possible that I am doing something wrong or overlooking something.

1) Please try the following steps:

1- Edit the category in the default language ( Category title or text ? In WooCommerce Multilingual & Multicurrency > Category or Products > Category )
2- Click the update button ( Done )
3- Switch the language from the top admin bar ( Done )
4- Add/Translate the custom meta fields (Is this automatic? Because there is still an empty field after the previous steps)
5- Update the translated category (Done but as I said the text is not translated)

Best Regards,

Flavio

November 28, 2023 at 10:12 pm #14944935

Mohamed Sayed

Hi Flavio,

You need to add the translation of this category description manually in the product category editing screen.

Please try this:

- Go to Products > Categories
- Edit the Dutch category
- Switch the language to English from the top admin bar
- Add the English text (The translation of the original description)
- Click "Update" to save the category
- Repeat the same steps with the German category

I created a screen recording shows the above steps, please see here: hidden link

Let me know please if that helps.

November 29, 2023 at 9:05 am #14947509

flavioG-2

Thanks for your message,

Okay, I already suspected that it would go this way, thanks for the confirmation.
Why is it not possible to translate the category text? Is this only with the flatsome theme?

November 29, 2023 at 9:08 am #14947531

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for your confirmation that the mentioned steps fix the issue. This goes for all custom fields in the taxonomies, not only with Flatsome fields. These fields are not translated automatically because they are not WordPress default fields.

Best regards,
Osama