Manage the case where langId is not set.
Merge pull request #591 from geoadmin/fix_ugly

Manage the case where langId is not set.