Why should a page pathLocale
be customizable
#12
-
VuePress internally mark pages with Why should an user set |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Frontmatter vuepress-plugin-i18n/src/node/lib/untranslated.ts Lines 28 to 44 in fc9cfd9 vuepress-plugin-i18n/src/node/lib/pageData.ts Lines 15 to 24 in fc9cfd9 |
Beta Was this translation helpful? Give feedback.
The root cause is: for auto-filled (I can't find a better expr at the moment) untranslated pages, we can only set the filePathRelative in the
extendsPage
hook.This also causes the pathLocale property to always be
/
, so we have to override it manually