Proper i18n support and more generalized nav generation