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.
This topic contains 9 replies, has 2 voices.
Last updated by Long Nguyen 1 year, 5 months ago.
Assisted by: Long Nguyen.
Author | Posts |
---|---|
August 7, 2023 at 3:53 pm #14165299 | |
Raul Pina |
Hi. |
August 9, 2023 at 2:38 am #14172693 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi Raul, Thank you for contacting WPML support, I'd be happy to help you with this issue. Can you please share some screenshots of the translation popup in the admin area? And let me know where I can see it in the frontend. After checking the debug information, I suggest you can try: 1. Increase WP memory limit: The minimum requirements are 128M, but we do recommend 256M and the debug information of your site shows it set to 40M. Please check this link for more details define( 'WP_MAX_MEMORY_LIMIT', '256M' ); define( 'WP_MEMORY_LIMIT', '128M' ); After adding the code you can confirm that the memory was changed correctly from WPML > Support > WordPress > Memory limit. 2. Update JetPopup to the new version 2.0.1. I see you've created another ticket about translating JetPopup (https://wpml.org/forums/topic/translate-jetpack-popup/), does the solution that my colleague provided still works on your site? Look forward to your reply. |
August 9, 2023 at 6:38 pm #14177965 | |
Raul Pina |
Hi! I just update the plugin and the config file. |
August 10, 2023 at 2:44 am #14178975 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info. ❌ IMPORTANT: Please backup your database and website before proceeding ❌ Look forward to your reply. |
August 10, 2023 at 9:21 am #14180685 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, Can you please share the FTP account also? When accessing the login page, I see there is an error and I'm not able to add the admin account. Please check this screenshot hidden link Your next reply is set to private to share the info. Look forward to your reply. |
August 10, 2023 at 10:15 am #14181109 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, The FTP account is not correct. Can you please recheck this? Look forward to your reply. |
August 11, 2023 at 3:53 am #14185763 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, I see you are using the WordPress editor to translate the portfolio post on your site. So please go to WPML > Settings > Custom Fields translation > Set the preference of fields on the portfolio editing page to "Copy Once" or "Translate" > Save changes. And refer to the documentation https://wpml.org/documentation/getting-started-guide/translating-custom-fields/ Look forward to your reply. |
August 11, 2023 at 10:15 am #14187723 | |
Raul Pina |
Perfect! I thought that all the fields were translatable. :/ Sorry. |
August 11, 2023 at 10:17 am #14187751 | |
Raul Pina |
Reattach the images |
August 13, 2023 at 4:42 pm #14193575 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, It is a complicated case, let me explain it first. The list of portfolio posts on the page hidden link is created by the widget "Listing Grid" and displays the listing "Portfolio" from JetEngine > Listings. When clicking on the listing image and content, the popup will appear. So I translate the field format "Localização" with two parts: 1. Translate popup and the field format by using the custom XML configuration code to register the widget Dynamic Field for translation. <widget name="jet-listing-dynamic-field"> <fields> <field type="Jet dynamic field format" editor_type="LINE">dynamic_field_format</field> <field type="JetPopUp" editor_type="LINE">jet_attached_popup</field> </fields> </widget> 2. Translate the listing "Portfolio" in JetEngine > Listings and the attached popup field by using the custom XML configuration code to register the widget Dynamic Image for translation. <widget name="jet-listing-dynamic-image"> <fields> <field type="JetPopUp" editor_type="LINE">jet_attached_popup</field> </fields> </widget> (You can see all XML configuration code in WPML > Settings > Custom XML Configuration tab) 2.1. Add the PHP code below to the file functions.php in the theme/child theme folder to translate the numeric value in Advanced Translation Editor (ATE), which is the popup post ID. /** * Allow translating numbers - wpmlsupp_7499 */ function wpmlsupp_7499_allow_translating_numbers( $is_translatable, $job_translate ) { $data = $job_translate['field_data']; if ( 'base64' === $job_translate['field_format'] ) { $data = base64_decode( $data ); } if ( is_numeric( $data ) ) { return true; } return $is_translatable; } add_filter( 'wpml_tm_job_field_is_translatable', 'wpmlsupp_7499_allow_translating_numbers', 10, 2 ); 2.2 In ATE, search for the popup ID and add the translated popup ID, please check this screenshot hidden link Now you can see the translation field format display correctly in the frontend, screenshot hidden link Refer documentation https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/ Look forward to your reply. |
August 14, 2023 at 6:13 pm #14199455 | |
Raul Pina |
Thanks a lot! |