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
[feature request] Fallback logic related suggestions/request #480
Comments
@rororofff has funded $5.00 to this issue.
|
we supported in Vue I18n v9. |
@kazupon I am new to Vue and am learning it. Could you please link to or provide a basic explanation for how to do use a fallback/default message? I found this, but don't really understand how/if I can use this. I would love to be able to use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi folks!
First of all, thanks for all the hard work.
As I scan through the issues, I found that there are lots of suggestions regarding the fallback logic, and I would like to add one more.
There are existing ones:
And I have a new one:
I think that if the key can accept array/fallback then maybe some issues mentioned above can also be solved, such that:
then I can use it like this:
of course, the priority of whether the language or key should be searched first is arguable, and is left for discussion. Moreover, the
...params
passed in is also arguable, but I think most of the time all the fallback keys would have the same format/semantics which can use the same params.The text was updated successfully, but these errors were encountered: