fix: UI localization on load + update all namespaced locales
This commit is contained in:
		| @@ -141,8 +141,6 @@ import Prism from '@/libs/prism/prism.js' | ||||
| import { get } from 'vuex-pathify' | ||||
| import _ from 'lodash' | ||||
|  | ||||
| /* global siteLangs */ | ||||
|  | ||||
| export default { | ||||
|   components: { | ||||
|     StatusIndicator | ||||
| @@ -261,10 +259,6 @@ export default { | ||||
|     this.$store.commit('page/SET_UPDATED_AT', this.updatedAt) | ||||
|  | ||||
|     this.$store.commit('page/SET_MODE', 'view') | ||||
|  | ||||
|     if (siteLangs.length > 0) { | ||||
|       this.$i18n.i18next.changeLanguage(this.locale) | ||||
|     } | ||||
|   }, | ||||
|   mounted () { | ||||
|     Prism.highlightAllUnder(this.$refs.container) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user