[OTF:1619] TextResource Service. ResolveLanguage methods and tests