A new project, laravel-lang/locales
, has been released
#109
andrey-helldar
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@Laravel-Lang/laravel-lang, hi guys!
Yesterday I released a new project Laravel Lang: Locales.
It is needed for easy management of localizations. Previously this functionality was inside the Publisher package, which I decided to take outside and add new functionality.
Differences from the "old" version:
Changed namespace for locales list:
The name of the cases is aligned with the PER standard.
Also changed
aliases
section in the configuration file.New functionality with facade
Before
After
<object>
is a DTO class ofLocaleData
:Conclusion
The current version of the
laravel-lang/locales
package has no conflicts with any of our existing projects because it has a different namespace. Therefore it is already included in thelaravel-lang/common
installation of version 4.1.0.I will soon release version 15 of the publisher where I will replace the internal code to use this package. And that's where it will make critical changes, so the new version of the publisher will be released under the major version increment.
Documentation
And I've added a new "About" page summarizing exactly what each package does.
Upgrade guide published here.
Beta Was this translation helpful? Give feedback.
All reactions