turquoiseowl / i18n

Smart internationalization for ASP.NET
Other
556 stars 156 forks source link

Handle missing cultures and invalid user language #186

Closed gitsno closed 9 years ago

gitsno commented 9 years ago

When the list of directories is used to get the list of languages a missing culture or directory that is not a culture will cause an error that prevents all the other languages from loading so check each directory as it is added.

Secondly, handle the case where the language in the user request is invalid and no PAL has been configured.

turquoiseowl commented 9 years ago

Nice PR, thanks!