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 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | - | - |
- | - | - | - | - | - | - |
Supporter timezone: Africa/Cairo (GMT+03:00)
Tagged: Compatibility
This topic contains 38 replies, has 2 voices.
Last updated by Osama Mersal 1 year, 9 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
September 11, 2023 at 10:16 am #14374667 | |
federicoD-13 |
Good morning, I've been trying to translate my site for a long time now but I always notice persistent problems, especially with the translation of the Portfolio section. The problem is that only the text is copied but no other elements of the original page. In the other tickets opened both with you and with the assistance of the site (Labortaor - Kalium) the problem of the parameters of the Custom Fields was analyzed which are all set to Not Translatable. To translate the page correctly it was recommended to not translate via the WMPL Translation Editor but using manula translation: This video made from the technicians of the Kalium theme shows that actually the metod works: hidden link But now I have tried to do it the same way again and I always get the same problem even with manual translation, no elements are copied and I get a blank page with only text and in which I have to set everything from the beginning. It is not possible to proceed in this way and now I have to find a definitive solution to this problem. Why are the custom fields all set as non-translatable? It is normal? Both your plugin and my Kalium theme claim mutual compatibility, so can you make sure that my theme is perfectly translatable as expected? Please can you check that the settings of your WPML plugin are set as expected (I have never changed the settings but only installed the plugin as per standard procedure) Thank you |
September 12, 2023 at 8:52 am #14381581 | |
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. Please login to this sandbox site and upload your theme. (hidden link) After that, please create a test portfolio post and translate it manually to replicate the issue. If the issue is replicable, please let me know the steps to reproduce the issue. Thanks for your cooperation Best regards, |
September 12, 2023 at 9:30 am #14382079 | |
federicoD-13 |
Hi, May I have another sandbox because i did a mistake during the installation of the theme. Best Regards, Federico |
September 12, 2023 at 9:43 am #14382261 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi Federico, Sure, please check this new sandbox. (hidden link) Best regards, |
September 12, 2023 at 9:47 am #14382277 | |
federicoD-13 |
Hi Osama, thank you. Best Regards, Federico |
September 12, 2023 at 9:57 am #14382509 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi Federico, I would need to look closely at your site and take a copy of your theme, so I would need to request temporary access (WP-Admin and FTP) Your next answer will be private, which means 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, |
September 12, 2023 at 11:20 am #14383049 | |
federicoD-13 |
Hi Osama, I just wanted to reiterate a question also following previous tickets opened in the past months in which it seemed to be about the right settings of the Custom Fields (which are all set to Non Translate). The problem was solved by modifying every single entry in the custom fields manually (in theory this should happen automatically). But this is impossible for me to do for all pages because I don't have the skills to recognize if I'm doing it right and which elements must be set as copy, as translatable or left as untranslatable. But this should be automatically recognized by WPML right? Thank you again |
September 12, 2023 at 12:06 pm #14383503 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, 1) Thanks for the access details. I've checked the portfolio posts and changed the custom fields' translation preferences. After that, using the manual translation method worked as expected. (Kindly check this video hidden link) I created a test post, so please check it and let me know if it works as expected. (hidden link) 2) These custom fields should have a custom XML configuration file in your theme files, so it will not be recognized automatically by WPML if your theme doesn't have this file. Best regards, |
September 12, 2023 at 1:05 pm #14384015 | |
federicoD-13 |
Thank you Osama, I checked the test page but the problem is that not all the elements are copied such as the logo which must always be chosen in the custom fields...but couldn't you set the custom fields with a default setting valid for all posts? because I can't try every time to find out which element to set, I'm not a programmer! I would also like to understand why some elements are set as copy and others copy once...previously no one told me to set the elements to copy once. (What happens if I put all the custom fields as copy in order to be sure that everything is reported on the translated page?) Unfortunately, each time I become even more confused. This is a problem related non only with the portfolio items but also the pages and posts which have custom fields inside. Best Regards, |
September 12, 2023 at 1:11 pm #14384121 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi Federico, 1) Please let me know where this Logo is added. If it's the featured image, it will be copied automatically. 2) The difference between copy and copy once is that when a field is set to copy, you can't change it in the translated posts, but when it's set to copy once, you can change it in the translated posts. Kindly check this guide to know more. (https://wpml.org/documentation/getting-started-guide/translating-custom-fields/) 3) The changes I made will be applied to all portfolio posts. You need to update the default language post, duplicate it to the other language, and translate the strings manually. Best regards, |
September 13, 2023 at 10:20 am #14389155 | |
federicoD-13 |
Hi Osama, 1) What I am referring to is the logo at the top left that I have in the webste and which is missing here because the related custom field has not been selected. The problem is that in the test page you created only a few custom fields were selected (for example there is only one checklist). When I have to translate the other pages of the portfolio I have to add the custom fields again for each page (because not all the pages are the same) and the problem is also for the blog and for all the pages of the site that use custom fields...this is very frustrating because i can't know what exact custom fields need to be chosen 2) I have read all the sections of your manual, I understood the difference between copy and copy once but if I am doing a manual translation with the WordPress Editor in theory the translated page and the original one are not synchronized and I can modify the parameters to obtain two pages different right? So I still don't understand why select copy once 3) as i wrote on the point 1) the settings are partial and when I go to another page I have to check everything again and this must not be my work What I need is for the WPML plugin to work as expected and as stated by the company as in this link: https://wpml.org/documentation/theme-compatibility/translating-kalium-theme-using-wpml/ Because I have been paying for two years without getting results. I therefore ask you to do everything possible to understand with the Laborator theme technicians how to find a solution. Best Regards, Federico |
September 13, 2023 at 11:10 am #14389633 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi Federico, 1) If you mean the Site's logo, it's there, but it's a white logo on a white background. (Kindly check the attached screenshot) 2) You need to set the fields to copy once or translate even when using manual translation, so these fields are copied when you duplicate the post. You will start the translation from scratch if you leave it as not translatable. 3) I've added the custom XML code for galleries and checklists in WPML-> Settings-> Custom XML tab. Please check it to see the code. Also, kindly check our guide about custom XML language configuration. (https://wpml.org/documentation/support/language-configuration-files/?utm_source=plugin&utm_medium=gui&utm_campaign=wpmlcore#custom-fields) 4) Please duplicate a portfolio post to check if there will be any missing data. Best regards, |
September 13, 2023 at 1:31 pm #14390579 | |
federicoD-13 |
Hi Osama, I thank yo for your support. 1) with the duplicated page the black logo is ok now (which custom field is it?) maybe before was not propoerly selected 4) I've duplicate a portfolio and it seems ok except for the heading menu which is empty and also the cover picture at the beginning: hidden link 5) What I would like to understand is why there are custom fields that are not copied correctly because they are not selected...doesn't it make sense to set all the custom fields as copy once in the WPML settings page? To make sure that all the content on the page is duplicated correctly. (who has to set the XML file, you or the technicians of my theme?) 6) What I don't understand is that I will have to translate all the pages with WordPress Editor (duplicating the page in the second language) and not with the Classic Translation Editor right? Why can't my site work as advertised? Thank you |
September 13, 2023 at 3:06 pm #14391037 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, 1) The field name is custom_logo. 2) Yes, it's okay as long as you use manual translation. 3) I checked the checklist and gallery fields, and they seem to be set correctly to copy once. Please let me know which checklist or gallery that are not working correctly to check them. 4) I fixed the fearured image issue. Please check if it works correctly. (hidden link) The menu is not translated, so it doesn't appear on the translated post. Kindly check our guide about translating menus. (https://wpml.org/documentation/getting-started-guide/translating-menus/) 5) Some fields shouldn't be copied or translated, so I set only the data fields. The custom XML file for the theme should be updated by the theme dev team, but I'll help you with the portfolios field. After that, please let them know the changes, so they can add it to the file later. 6) It doens't work with the WPML translation editor because of the custom fields issue. I'll consult our comptability team regarding this issue and update you as soon as I get thier reply. Best regards, |
September 13, 2023 at 3:41 pm #14391349 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Please login to this sandbox site and upload your theme. (hidden link) After that, Please create a portfolio post and translate it to replicate the issue. If the issue is replicable, please let me know to consult our compatibility team. Best regards, |
The topic ‘[Closed] Portfolio translation problem’ is closed to new replies.