This thread is resolved. Here is a description of the problem and solution.
Problem:
The client uses Full Site Editing theme, and wants to translate the navigation block, but it's not translated.
Solution:
Please go to WPML-> Translation Management, select templates, and translate the navigation block. Kindly check the following guide to know more about translating navigation blocks.
Relevant Documentation:
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: Documentation request, Exception
This topic contains 13 replies, has 3 voices.
Last updated by Osama Mersal 1 year, 3 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
February 12, 2024 at 4:31 pm #15294096 | |
Max |
I tried different methods, some of them also mentioned in already resolved threads, but i can't get them to work. I need the header block to display a translated version of my navigation block. Is there a guide? I use current newest WP and WPML versions. |
February 12, 2024 at 4:55 pm #15294148 | |
Nicolas V. Supporter
Languages: English (English ) French (Français ) Timezone: America/Lima (GMT-05:00) |
Hi, Welcome to the WPML support forum. Thanks for contacting us. We are currently handling a high amount of ticket and while waiting for one of my colleagues to help with this ticket, please allow me to walk you through some initial debugging steps. This will help speed up the support process. We would need your WPML debug information. In short: --- Now regarding your navigation block, if you're using Site Editor (FSE), please follow this documentation: https://wpml.org/documentation/getting-started-guide/translating-content-created-using-gutenberg-editor/translating-sites-that-use-full-site-editing/#translating-menus-in-site-editor-templates |
February 13, 2024 at 8:11 am #15295834 | |
Max |
Here is the info. |
February 13, 2024 at 9:59 am #15296518 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, I'm Osama from WPML forums support. I'll be glad to help you today. 1) Please let me know how this block is created. Also, please let me know where to check this issue on the front end. Kindly check this guide about registering blocks. (https://wpml.org/documentation/support/language-configuration-files/make-custom-gutenberg-blocks-translatable/) 2) It's unrelated to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/) You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line: /* Memory Limit */ define('WP_MEMORY_LIMIT', '256M'); define( 'WP_MAX_MEMORY_LIMIT', '256M'); Best regards, |
February 13, 2024 at 10:17 am #15296630 | |
Max |
Hello Osama, thank you for the reply. You can check the website here: |
February 13, 2024 at 10:20 am #15296668 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for your update. Please go to Appearance-> Menus and check if the menus are translated. If they are not translated, please translate them and check the issue. Kindly check this guide about translating menus. (https://wpml.org/documentation/getting-started-guide/translating-menus/) Best regards, |
February 13, 2024 at 10:26 am #15296696 | |
Max |
Unfortunately there is no "Menus" Section. Any idea whats wrong? |
February 13, 2024 at 10:33 am #15296752 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, You use a full site editor theme. Please check the steps mentioned on this guide to translate the menus. (https://wpml.org/documentation/getting-started-guide/translating-content-created-using-gutenberg-editor/translating-sites-that-use-full-site-editing/#translating-menus-in-site-editor-templates) Best regards, |
February 13, 2024 at 11:03 am #15296955 | |
Max |
Hey Osama, thank you for your assistance. I followed the guide and still it does not work as intended. In my screenshot you can see the Site-Editor. In the left you will see, that the first nav-item should be "arbeiten" (which is translated like all other items via your guide). The nav stays the same on both german and english site-versions and it is a weird mix, because the first two items are english, the lesser are german. |
February 13, 2024 at 11:04 am #15296957 | |
Max |
Forgot the screenshot: |
February 13, 2024 at 11:11 am #15297009 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Your answer will be private, meaning only you and I can access it. ❌ Please backup your database and website ❌ ✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical. ✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site. Best regards, |
February 13, 2024 at 11:42 am #15297198 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for the access details. I checked your site and found that you translated the wrong template. Here is the correct template. (hidden link) This is an English template, so I translated it into German. Please check if the menu works correctly in both languages. Best regards, |
February 13, 2024 at 1:40 pm #15297860 | |
Max |
Thank you so much! I do not know how you did it, but it works now. |
February 13, 2024 at 1:56 pm #15297904 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, If you want to change or add items, please edit this template and add/change the items. (hidden link) Please note that you need to add/change the English menu in this template. After that, please go to WPML-> Translation Management to translate it into German. Best regards, |
February 16, 2024 at 10:14 am #15310866 | |
Max |
Thank you for your assistance. |