Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support change language key before render ? #151

Closed
czh6865801 opened this issue Apr 24, 2023 · 0 comments
Closed

support change language key before render ? #151

czh6865801 opened this issue Apr 24, 2023 · 0 comments

Comments

@czh6865801
Copy link

sorry, i am a green hand and My English is not very good. Let me be as clear as I can.

because of i want't to change code( like {{$t('chat-add')}} change to {{$t('mx_msg_add_members')}} ). so i need to change language key before render

What I do

this is map of oldKey to newKey (replace.json),
image

image

(vuex-i18n.es.js)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant