add getTranslationFor function for googlePlugin