bug fix: do not return a language for a language code if value is null or empty