This PR solves the issue #149, where router dependent functions such as localePath or nuxtLinkLocale would break if i18n was on with the strategy prefix_and_default, the bug might occur with other strategies, this has not been tested for the moment.
An option has been added ignoreI18nModifiers set by default to false to assure backwards compatibility, setting the option to true will prevent the generator from changing the routes names.
Description
This PR solves the issue #149, where router dependent functions such as
localePath
ornuxtLinkLocale
would break if i18n was on with the strategyprefix_and_default
, the bug might occur with other strategies, this has not been tested for the moment.An option has been added
ignoreI18nModifiers
set by default to false to assure backwards compatibility, setting the option to true will prevent the generator from changing the routes names.I haven't found any functionality that has been broken from this change yet