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

feat: how to get locale messages from a given key #87

Merged
merged 2 commits into from
Aug 7, 2020
Merged

Conversation

kazupon
Copy link
Member

@kazupon kazupon commented Aug 7, 2020

resolve #75
add the bellow API:

  • Composable API style
    • Composer: tm method
  • Legacy API style
    • VueI18n: tm method
    • Injection of Vue prototype: $tm

@kazupon kazupon added the Type: Feature Includes new features label Aug 7, 2020
@kazupon kazupon changed the title feat: the way to get locale messages from the specified key feat: how to get a locale message from a given key Aug 7, 2020
@kazupon kazupon changed the title feat: how to get a locale message from a given key feat: how to get locale messages from a given key Aug 7, 2020
@kazupon kazupon merged commit 7d703eb into master Aug 7, 2020
@kazupon kazupon deleted the feat/tm branch August 7, 2020 18:18
@thedamon
Copy link

Thank you!! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Includes new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Curious why object/array returns from $t are removed?
2 participants