hooked up the dropdown menu with i18n and functions