Fix translations function misuse
Don't call i18n in a static context at that point there's no translation catalog set yet to fetch translations from
Don't call i18n in a static context at that point there's no translation catalog set yet to fetch translations from
mentioned in commit 5923c7a5