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 lang support to Inertia stubs #1007

Closed
wants to merge 1 commit into from

Conversation

xiCO2k
Copy link
Contributor

@xiCO2k xiCO2k commented Mar 18, 2022

This PR is a possible addition to add to the Inertia stubs, looking on the blade views, it looks like it's using the translation helper.

My proposal is to do the same for Inertia, but since there is no built in way to do it, I built a package called laravel-vue-i18n couple of months ago for that exact purpose, it even supports the same syntax for replacements.

If you guys think this is a good addition to have, I can finish the implementation.

Let me know if there is any questions.

@taylorotwell
Copy link
Member

Hey there! We have thought about adding this in the past but it just really adds a lot of noise to the templates.

@xiCO2k
Copy link
Contributor Author

xiCO2k commented Mar 18, 2022

Got it.

@xiCO2k xiCO2k deleted the feat/add-lang-support-to-inertia branch March 18, 2022 13:57
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.

None yet

2 participants