Fixed EZP-20580: Adding a new language in admin interface generates php errors

Jira issue: https://jira.ez.no/browse/EZP-20580