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.
Tagged: Compatibility
This topic contains 4 replies, has 2 voices.
Last updated by Lauren 1 year, 11 months ago.
Assisted by: Lauren.
Author | Posts |
---|---|
January 4, 2023 at 5:00 pm #12753373 | |
clareQ |
we are using the plugin Tutor LMS. It says it is compatible with WPML. However when we change some of the settings boxes such as email content within the plugins settings (by changing language within WordPress admin ribbon). It does not translate and always copies the content again |
January 4, 2023 at 5:30 pm #12753581 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
Here is a link to login to the test site. Please install Tutor LMS and see if you can reproduce the email issue here, and once that has been set up so that I can further troubleshoot here. Thanks! hidden link |
January 5, 2023 at 2:07 pm #12758901 | |
clareQ |
Thanks Lauren I will set that up and let you know when done. I also have another issue I hope you can help with. On out site is a sidebar also generated by Tutor LMS. The links always come out formatted wrong. Like this: hidden link Rather than like this: hidden link I found the section of code that generates it and it uses the function trailingslashit() which I see WPML says it supports here: https://wpml.org/errata/changes-in-the-way-wpml-handles-the-trailing-slashes-in-url-conversion/ This is the section of code from Tutor LMS that generates it: public function get_tutor_dashboard_page_permalink( $page_key = '', $page_id = 0 ) { if ( $page_key === 'index' ) { $page_key = ''; } if ( ! $page_id ) { $page_id = (int) $this->get_option( 'tutor_dashboard_page_id' ); } return trailingslashit( get_permalink( $page_id ) ) . $page_key; } |
January 5, 2023 at 2:22 pm #12758983 | |
clareQ |
Hi Lauren, so for the emails I have added Tutor Pro to the sandbox. To see my problem if you go to Tutor LMS Pro -> Settings -> Email tab on the left. Then edit for example the course enrolled email. If you save it in English, it always saves the same if you switch to Spanish. You can't have two different values. The plugin makers say it should work. |
January 5, 2023 at 3:35 pm #12759569 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
For the new issue, please open a new ticket or chat, as our policy is to address one issue per ticket. This helps keep things organized when we need to escalate specific issues. For the original issue, I went to WPML - Theme and plugin localization and scanned the Tutor plugins for you. After that, when I couldn't find the string in string translation, I opened the admin texts and searched for the string "Welcome to the course, the most popular and modern serve" (without the quotes, of course) and was able to find it there. I added it to string translation. You can now find it in the string translation table, where you can add your translation and run the test. I realize that the plugin authors say that it should be done with the language switcher, but most times the admin settings are stored and translated in string translation. Please test this method and let me know if it works for you. Thanks! |