shopinvader / locomotive-shopinvader

LocomotiveCMS Plugin for Shopinvader
https://shopinvader.com
MIT License
12 stars 15 forks source link

[IMP] : Fix dialects in locale loading #45

Closed rousseldenis closed 5 years ago

rousseldenis commented 5 years ago

https://github.com/shopinvader/locomotive-shopinvader/blob/v4.0.x/lib/shop_invader.rb#L37

This does not allow 'fr_BE' for example.

Maybe something like 'fr' => ['fr_FR', 'fr_BE', 'fr_CH', 'fr_CA', ...] and interpret list items ?