# feature wanted > auto open translation docs with the current url pathname ## current > click the translation zh-Hans link, just goto the home page https://v3.vuejs.org/guide/composition-api-setup.html#props `=>` https://v3.cn.vuejs.org/ ## wanted > click the translation zh-Hans link, goto the page with the current url pathname https://v3.vuejs.org/guide/composition-api-setup.html#props `=>` https://v3.cn.vuejs.org/guide/composition-api-setup.html#props ## try failed https://github.com/vuejs/docs-next/blob/master/src/.vuepress/config.js#L418 ```js { text: '中文', link: 'https://v3.cn.vuejs.org/' } ``` ```js { text: '中文', link: `https://v3.cn.vuejs.org${window?.location?.pathname}`, } ```