Yii Framework Forum

Moving Applicaiton language to separate BCP 47 Locale class


(Alexander Makarov) #1

The plan is to move language from application into its own class injected into components when needed. The class itself isn’t complete but you can get an idea. It would allow solving another long time issue with proper languages fallback for view files.


(Alexander Makarov) #2

Here’s what is it used for currently: