Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quizz is not translate #535

Open
lchantemesse opened this issue Jan 27, 2023 · 7 comments
Open

Quizz is not translate #535

lchantemesse opened this issue Jan 27, 2023 · 7 comments

Comments

@lchantemesse
Copy link

Translation doesn't take into account for string contained in quiz.js.
load like this : (0,wordpress_i18n__WEBPACK_IMPORTED_MODULE_2_.__)('Time spent', 'learnpress')

@tungnxt89
Copy link
Collaborator

tungnxt89 commented Jan 30, 2023

Hi lchantemesse,

Yes, on the file "learnpress.pot,"  it only declares the file quiz.min.js.

Thanks.

@lchantemesse
Copy link
Author

Thanks,

So what is the way to take into account quiz.min.js instead of quiz.js ?

@tungnxt89
Copy link
Collaborator

Hi lchantemesse,

To make LP load file quiz.min.js you need disable "Debug Mode" on the LernPress/Settings/Advanced

Thanks.

@lchantemesse
Copy link
Author

Hi,

The translation contained in learnpress.po is not take into account for the quizz.min.js.

@tungnxt89
Copy link
Collaborator

Hi,

On the file learnpress.po, it contains text config translate of file quiz.min.js like the image https://freeimage.host/i/HEce8Kv

Thanks.

@lchantemesse
Copy link
Author

Yes I found text to translate, but this transation is not take into account for js file only.

@tungnxt89
Copy link
Collaborator

Hi lchantemesse,

Can you provide us with info on your site? You can send info to email: tungnx@templatica.net
We'll check it.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants