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

No error handling in JS code if translation is not setup correctly #218

Open
lino opened this issue Jul 11, 2022 · 1 comment
Open

No error handling in JS code if translation is not setup correctly #218

lino opened this issue Jul 11, 2022 · 1 comment

Comments

@lino
Copy link
Contributor

lino commented Jul 11, 2022

Several issues (e.g. #170 ) in this project are related to surprises in our setup process and documentation with room for improvement.

I'll look into adding error handling in the JS side to give out helpful error messages hinting to setting up the translation stuff correctly.

@GambetaClub
Copy link

I installed and imported JavaScriptCatalog into my URLs and my error shows: "ReferenceError: pgettext is not defined at recurrence.js:1037:12". My django version is 4.0. I pass {{ form.media }} to my template but still doesn't work. Any suggestion? Thank you!

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

No branches or pull requests

2 participants