pkp/pkp-lib — comment on commit 607a3434322a158656058f2b9da46b50616cb66b
File: classes/codelist/SubjectDAO.inc.php line 36
By asmecher:

It's worth doing some validation to make sure that $locale is [a-z][a-z]_[A-Z][A-Z] and exists; if not, fall back on English. (Also above.)