[magicsearch] update to match new i18n API: config.translations[lang] now returns a couple of function