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 2 voices.
Last updated by Nicolas V. 1 year, 10 months ago.
Assisted by: Nicolas V..
Author | Posts |
---|---|
February 14, 2023 at 4:08 pm #13032815 | |
miguel-manuelM |
I have encountered several issues in a client's site after updating the plugins and theme (edumodo): 1) The buttons in the grid course shortcode are empty in translations. Please find attached a screenshot. I´m sorry I do not provide more information, I did not develop the page so I'm not sure if it had custom code anywhere. Right now it just feels like everytime any translation is modified in this site it does not work properly. Any ideas? |
February 15, 2023 at 3:32 pm #13042043 | |
Nicolas V. Supporter
Languages: English (English ) French (Français ) Timezone: America/Lima (GMT-05:00) |
Hello, Welcome to the WPML support forum. My name is Nicolas and I will be happy to help you today. Access your server via FTP and open wp-config.php (in your WordPress root directory). Insert those lines just before /* That's all, stop editing! Happy blogging. */ /* Memory Limit */ define( 'WP_MEMORY_LIMIT', '256M' ); More info: https://wpml.org/home/minimum-requirements/ --- Once the PHP memory upgraded, please make a small edit in the original page (like adding a space at the end of a paragraph). It should be enough to trigger an "update needed" on the translation. Then enter the translation and check if some segments are missing translations. Other points to take into consideration: 2. You use Elementor which is compatible with WPML but also some Elementor add-ons such as LearnDash LMS - Elementor. It could be that Elementor widgets from this add-on are not registered yet to translation. I tried to visit your visit to see if I could detect from which widget the buttons were coming but it's password protected. 3. You have Loco Translate installed which is another plugin to translate. Having two plugins with the same features can cause some conflicts. Nico |
February 15, 2023 at 4:29 pm #13042277 | |
miguel-manuelM |
Hello, I have updated the HomePage but it stills does not show every field and the course content is still displayed in Spanish. I could grant you access if you need it, how should I proceed? Is there a way I could send you the credentials? |
February 16, 2023 at 11:45 am #13048345 | |
Nicolas V. Supporter
Languages: English (English ) French (Français ) Timezone: America/Lima (GMT-05:00) |
Hello, Sure, that way I can see which Elementor widget is used. IMPORTANT: Before we proceed, please backup your site and database. Also, please add links to the specific pages from your screenshots so I can find them. Nico |
February 16, 2023 at 8:32 pm #13052581 | |
Nicolas V. Supporter
Languages: English (English ) French (Français ) Timezone: America/Lima (GMT-05:00) |
Hello, Thanks for the access. I had a look and found which php file is used. It's from the plugin "LearnDash LMS - Course Grid". learndash-course-grid/templates/skins/legacy-v1/item.php <div class="ld_course_grid_button"><a class="btn btn-primary" role="button" href="<?php echo esc_url( $button_link ); ?>" rel="bookmark"><?php echo esc_attr( $button_text ); ?></a></div> Where the variable $button_text is coming from earndash-course-grid/includes/functions.php If I change: <?php echo esc_attr( $button_text ); ?> to: <?php echo esc_attr__( 'See More', 'learndash-course-grid' ); ?> It works perfectly. It will display the translations from "WPML > String Translation". So I'm not sure if it's a plugin issue or if it's because you're translating some strings in a different way in your theme functions.php or even in "Fragmentos de código" (see an example in screenshot). My recommendation would be to review your code from functions.php and maybe contact the plugin author. Nico |
February 17, 2023 at 8:44 am #13055279 | |
miguel-manuelM |
Oh! thanks for the assistance!, it would have taken me days to reach that conclusion! I have a question though, the content of several fields appear in the translation editor, but they are not displayed in the front-end in English, e.g. hidden link, or in the Homepage hidden link. Why does this happen? New threads created by Nicolas V. and linked to this one are listed below: https://wpml.org/forums/topic/split-several-issues-with-site-after-update/ |
February 18, 2023 at 3:08 pm #13061947 | |
Nicolas V. Supporter
Languages: English (English ) French (Français ) Timezone: America/Lima (GMT-05:00) |
Hello, I'm glad I could help. As the original issue is resolved and since we limit one issue per ticket, I have opened a new ticket for your additional question. Let's continue our conversation on that new ticket: https://wpml.org/forums/topic/split-several-issues-with-site-after-update/ Keeping one issue by forum threat helps to keep the forum clean and organized, it will also help other users with similar problems to find solutions when searching the forum. Thanks for your understanding. Nico |