我有带有嵌套动态段的路由,例如/:locale/products/:product_id/items/:item_id等嵌套。我想在语言环境路由中的一个Action中换出语言环境。我不想在更改语言环境时转换到基本/:locale路由。语言环境路由操作:actions:{localeChanged:function(locale){varroute=this.controllerFor('application').get('currentRouteName');this.transitionTo(route,locale);}}这仅在嵌套不深时有效。我想避免在每条route实现loca