translation getTexts method renamed to toArray