diff --git a/client/components/common/nav-header.vue b/client/components/common/nav-header.vue index 353ad02f..577ab3a7 100644 --- a/client/components/common/nav-header.vue +++ b/client/components/common/nav-header.vue @@ -193,7 +193,7 @@ v-icon(color='grey') mdi-account-circle span {{$t('common:header.login')}} - page-selector(mode='create', v-model='newPageModal', :open-handler='pageNewCreate') + page-selector(mode='create', v-model='newPageModal', :open-handler='pageNewCreate', :locale='locale') page-delete(v-model='deletePageModal', v-if='path && path.length') diff --git a/client/components/common/page-selector.vue b/client/components/common/page-selector.vue index 74919da2..8ab5be7f 100644 --- a/client/components/common/page-selector.vue +++ b/client/components/common/page-selector.vue @@ -108,7 +108,7 @@ export default { data() { return { searchLoading: false, - currentLocale: 'en', + currentLocale: siteConfig.lang, currentPath: 'new-page', tree: [], treeChildren: [],