concretecms / concrete5-legacy

Legacy repository for concrete5
http://www.concrete5.org
559 stars 323 forks source link

don't try to load languages that don't exist anymore #1959

Closed Remo closed 7 years ago

Remo commented 7 years ago

Had a site with en_GB in the multilingual add-on, but somehow Zend failed with Error opening translation file ''.. Didn't debug it all the way through, but this seems to work and probably also has the benefit of being faster. This only happens with version 5.6.4.