ナビゲーションをスキップする

Open

Reported for: WPML Multilingual CMS 4.6.8

Topic Tags: Compatibility

Overview of the issue

In LearnPress plugin, certain strings, particularly those originating from JavaScript files, are not being translated on the frontend, despite being translated in String Translation. These is particularly the case for those strings in Quizzes.
This is a current known WPML limitation as explained here.

Workaround

Please, make sure of having a full backup of your site before proceeding.

  • Open the LearnPress .pot file …/wp-content/plugins/learnpress/languages/learnpress.pot.
  • Add the string you want to translate. For example, for “Time Spent”:
    #: assets/js/dist/frontend/quiz.min.js:1549
    msgid "Time spent"
    msgstr ""
    
  • Use a tool like Loco Translate to search for and translate the string

返答する

トピックからそれないようにし、他のユーザーを尊重してください。この投稿に関係のない問題についてサポートが必要な場合は、サポート フォーラムを使用してチャットを開始するか、チケットを送信してください。

これらのタグを使用できます:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>