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.
Our next available supporter will start replying to tickets in about 1.62 hours from now. Thank you for your understanding.
Tagged: Exception
This topic contains 21 replies, has 3 voices.
Last updated by Osama Mersal 1 year, 10 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
January 17, 2023 at 12:54 pm | |
ziga pipan |
I have everything translated ok, but I can’t translate this 2 things here It’s translated ok in wpml |
January 17, 2023 at 1:15 pm | |
January 17, 2023 at 1:31 pm #12834549 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Hi, Can you try to following? It is a bit old ticket, but perhaps the solution may still work as it seems to be a similar example where these did not work in child theme, but worked if parent theme is active. If you cannot find these lines in these positions, then the theme has changed and I will need to check elsewhere. so in wp-content\plugins\et-core-plugin\app\models\customizer\templates\header\parts\promo_text.php - LINE 80 where you have: <span class="text-nowrap"><?php echo do_shortcode($key['text']); ?></span> make it look like: <?php //WPML Workaround $key['text'] = apply_filters('wpml_translate_single_string', $key['text'], 'admin_texts_theme_mods_jerry-shepherd', '[theme_mods_jerry-shepherd][promo_text_package][0]text' ); ?> <span class="text-nowrap"><?php echo do_shortcode($key['text']); ?></span> Has it helped? Regards, |
January 17, 2023 at 1:37 pm #12834673 | |
ziga pipan |
I changed it but did not help |
January 18, 2023 at 7:05 am #12839629 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, I'm Osama from WPML forums support. I'll be glad to help you today. Could you please log in to this sandbox site and upload your theme? (hidden link) After that, please create a header and translate it. If you face the same issue, please let me know the steps to reproduce it. Thanks for your cooperation Best regards, |
January 18, 2023 at 10:15 am #12841461 | |
ziga pipan |
hidden link |
January 18, 2023 at 10:20 am #12841501 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, I increased the values for the sandbox. Could you please try to replicate the issue? Thanks, |
January 18, 2023 at 10:39 am #12841667 | |
ziga pipan |
Seems to work just fine |
January 18, 2023 at 10:43 am #12841689 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for trying to replicate the issue. I tried to check your site, but the access was denied. Kindly check if there are any security restrictions on login in. I also need your permission to take a local copy of your site to debug the issue without affecting your live site. Best regards, |
January 18, 2023 at 10:48 am #12841709 | |
ziga pipan |
sure, you can clone it. |
January 18, 2023 at 10:51 am #12841761 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for your permission. I still can't log in. (hidden link) Regards, |
January 18, 2023 at 10:57 am #12841785 | |
ziga pipan |
would you mind trying one more time. or I'm gonna talk to hosting. |
January 18, 2023 at 11:01 am #12841817 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, I'm afraid it's not working. It will be okay if you provide a site snapshot. We usually recommend the free Plugin “Duplicator" for this porpoise. If you already know how Duplicator works. (http://wordpress.org/plugins/duplicator/), ★ Duplicator Instructions (hidden link) Send me both files (you probably want to use DropBox, Google Drive, or similar services, as the snapshot file will be pretty big) I will enable your next answer as private, so you can securely provide me with the information. Regards, |
January 18, 2023 at 11:32 am | |
January 18, 2023 at 11:58 am #12842405 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Unfortunately, it doesn't work for some reason. Would you please try to create a package using the "All In One Migration" plugin? Thanks for your cooperation Best regards, |