Issue #3385846 by pooja_sharma, joachim: FileOnTranslatedEntityTest should use API to set up language (cherry picked from commit b6c3c60a)