micheleangioni / laravel-js-lang-converter

Laravel lang files conversion to Javacript
MIT License
25 stars 8 forks source link

Gracefully failing on localization regions #5

Closed micheleangioni closed 8 years ago

micheleangioni commented 8 years ago

Actually the locale identification does not allow easy support of application using full locales (i.e. en_US, en_GB). However, in most cases localization is language based and not country based.

A simple support for full locales will be introduced, by using only the language identifier.

micheleangioni commented 8 years ago

@matthew-sycle full locales are now supported in version 2.2 and they will be converted to language only (i.e. 'en_US' ---> 'en')