Fixed issue with the function hasTranslation