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

If it possible to merge traslation with existing #131

Closed
saknarak opened this issue Mar 28, 2017 · 0 comments
Closed

If it possible to merge traslation with existing #131

saknarak opened this issue Mar 28, 2017 · 0 comments

Comments

@saknarak
Copy link

saknarak commented Mar 28, 2017

vue & vue-i18n version

version: 2.2.1 5.0.3

Reproduce Step

Vue.locale('en', { hello: 'Hello' })
Vue.locale('en', { world: 'World' })

first translation will be replaced with second translation.
'hello' will gone

Some middleware use vue-18n to translate their components
When I add my own translate, previous translates were gone.
That's a problem.

I think I should retrieve existing and then merge with my translation
and set it back with Vue.locale

Or any suggestioni?

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

2 participants