Fixes route generation and menu item configuratio nwhen using i18n routes