fixed issue with empty strings in language resolving to fallback instead of language resource