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

Fix invalid translation files crashing the extension. #223

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

AnouarTouati
Copy link
Contributor

@AnouarTouati AnouarTouati commented Jan 28, 2025

This PR prevents extension from crashing when the user is working on translation files.

Fixes the following scenarios:

  1. Creating an new php/json translation file
  2. Invalid JSON structure
  3. Syntax and runtime errors/exception in the PHP translation files

EDIT: I think this should fix #212

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

Successfully merging this pull request may close these issues.

[Bug]: "[error] Translation namespaces"
1 participant