Adds a translated text to each class and the translation method