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

Add json translations support #31

Merged
merged 3 commits into from
May 22, 2021
Merged

Add json translations support #31

merged 3 commits into from
May 22, 2021

Conversation

masterix21
Copy link
Contributor

I have verified currently the package doesn't allow to works with JSON translations.

The PR enables the support to JSON translation files, loading files from the package directory itself or, when available, from the resource/vendor/package-name/ directory (needed if a customer likes to override the translations).

@freekmurze
Copy link
Member

Nice, could you also document this in the readme? Thanks!

@masterix21
Copy link
Contributor Author

Done!

@freekmurze freekmurze merged commit 2bd4d3d into spatie:master May 22, 2021
@freekmurze
Copy link
Member

Thanks!

@masterix21
Copy link
Contributor Author

❤️

@masterix21 masterix21 deleted the feature-json-translations branch May 24, 2021 07:56
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.

2 participants