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 6 replies, has 3 voices.
Last updated by Yvette 4 years, 6 months ago.
Assisted by: Yvette.
Author | Posts |
---|---|
July 9, 2020 at 10:58 am #6556569 | |
karinR-5 |
Tell us what you are trying to do? How can I change the footer text on the checkout page with the string i translated? Attached the Englisch & German versions of the checkout where there is the same footer text. |
July 11, 2020 at 12:29 pm #6574153 | |
Laura Supporter
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
Hi, thanks for contacting us. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps or if I can perhaps help with the issue quickly. Can you please try to activate in WPML > String Translation the option 'Auto register strings for translation'? If this doesn't help, can you show us some screenshot of the translated string in the backend? |
July 12, 2020 at 6:35 am #6576797 | |
karinR-5 |
Hi, thanks for your reply. Do you know why it isnt shown in frontend? |
July 12, 2020 at 1:37 pm #6577541 | |
Yvette Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Paris (GMT+01:00) |
Hello I´ll be helping you. Sometimes, the string will not show up on the frontend due to a plugin conflict or due to the way the plugin has been coded. Sometimes, it also assumes that you have configured the plugin in English and therefore is not using the right language tag to retrieve the correct string translation. Would you mind uploading this plugin to a sandbox site which has been preloaded with WPML plugins and Woocommerce here: Please configure an example - and see if the problem is reproducible. I wait for your news |
July 13, 2020 at 8:09 am #6580363 | |
karinR-5 |
Hi, thanks for helping out! I installed the plugin at your sandbox site & it isnt working there as well. Thanks! |
July 13, 2020 at 9:28 am #6581669 | |
Yvette Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Paris (GMT+01:00) |
Thank you for that. I confirm this and have escalated the case to our compatibility team. In the meantime, I can see that the plugin authors are already WPML "sensitive" so , please approach them with this issue as well. Eventually any "fix" may require theri collaboration so it would be good to have them informed and perhaps they can already fix the problem. |
July 29, 2020 at 12:55 pm #6700217 | |
Yvette Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Paris (GMT+01:00) |
Hello Could you please try the following: <?php echo do_shortcode( $footer_text ); ?> add this code: <?php if (class_exists('sitepress')) { $footer_text = apply_filters('wpml_translate_single_string', $footer_text, 'admin_texts__cfw__settings', '[_cfw__settings]footer_text'); } ?> Can you please let me know if this works for you? |