-
Notifications
You must be signed in to change notification settings - Fork 86
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
feat: New Localization module #350
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #350 +/- ##
==========================================
+ Coverage 69.08% 70.04% +0.95%
==========================================
Files 147 151 +4
Lines 9922 10332 +410
==========================================
+ Hits 6855 7237 +382
- Misses 2598 2624 +26
- Partials 469 471 +2 ☔ View full report in Codecov by Sentry. |
@kkumar-gcc It seems that you also need to submit the configuration file in the |
Yeah, I need to make some changes in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great PR!
Please create another for goravel/goravel. |
Okay, i will create. |
Closes goravel/goravel#39
Previous PR: #302
📑 Description
This PR(
Not Finished
) introduces a newLang
facade that can be used to implement localization in your application. To utilize this feature, follow these steps:Create a
lang
directory in the root of your project:Update your
app.go
configuration as follows:Now, you can make use of the
Lang
facade in your code as demonstrated below:✅ Checks
ℹ Additional Information