Skip to content

Fix Translation detection breaks when there are blank lines in a JSON file #399

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

Conversation

N1ebieski
Copy link
Contributor

Fixes #396

This PR increases $searchRange in translation files to 3 to allow users using empty lines to separate some groups of strings and improve readability.

@joetannenbaum
Copy link
Collaborator

Bumped it 5 just in case, thanks!

@joetannenbaum joetannenbaum merged commit 50cdb75 into laravel:main Jun 9, 2025
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]: Translation detection breaks when there are blank lines in a JSON file
2 participants