Add support for translations (make use of textConstants).