Hi @lidconcil
I’m not related to this plugin in any way, but am one of the people in the volunteer team for Swedish translations of WordPress.
It’s quite possible that some parts of this plugin uses Javascript. I’m not sure, but with Loco Translate perhaps you can’t create the .json files you’d need for translation of strings in Javascript.
I think the best option would be if you could contribute to the Swedish translation of this plugin at https://translate.wordpress.org/locale/sv/default/wp-plugins/sensei-lms/ since the language packs that our platform creates also includes the needed .json files for Javascript.
Thank you!
The translation which you linked seems fine and the majority of the text is translated, even the text i was referring to in my original post.
I’m not sure if the plugin loads translations from JS, how would i find out? Should i place a Json file in a specific folder so wordpress can find it? How does it work?
Hi @lidconcil,
Thanks for reaching out. You can find all the text strings for the Sensei LMS plugin in the lang/sensei-lms.pot file. After translation, you can place the .MO files in wp-content/languages/plugins/ folder.
More Inforamtion here https://senseilms.com/documentation/translating-sensei-lms/#translation-file-location
<hr/>
During installation, Sensei creates a few default pages, such as
- Courses
- My Courses
- Course Completed
There are a few strings of text on these pages which are editable. During the setup, the text on these pages is set to the site’s language. If a translation is available in the WordPress.org repo, the text is set in your site’s language. If there are untranslated strings, the text placed on these pages is in English.
Once the pages are created, the text strings do not change if you update or add newly translated strings to Sensei. This is happening in your case.
You will need to manually edit the Course Completed page and change the text to Swedish.
Best,