We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Function tr() does not format string from file.
tr()
To Reproduce Use function tr() and get message from file with formatting.
tr("test.a", "sample string");
messages.json
{ "test.a": "This is a {0}." }
Result: This is a {0}.
This is a {0}.
Expected behavior Result: This is a sample string.
This is a sample string.
Screenshots or log My code where I use it: File messages.json: Result:
Environment (please complete the following information):
Additional context It did work in version 2.0.2-pre3, but in 2.0.3 doesn't work. Just recompiled project with new SDK.
The text was updated successfully, but these errors were encountered:
Confirmed issue,Waiting to be repaired
Sorry, something went wrong.
You can Comment here to temporarily solve
fixed
dreamguxiang
No branches or pull requests
Describe the bug
Function
tr()
does not format string from file.To Reproduce
Use function
tr()
and get message from file with formatting.messages.json
Result:
This is a {0}.
Expected behavior
Result:
This is a sample string.
Screenshots or log
My code where I use it:
File
messages.json
:Result:
Environment (please complete the following information):
Additional context
It did work in version 2.0.2-pre3, but in 2.0.3 doesn't work. Just recompiled project with new SDK.
The text was updated successfully, but these errors were encountered: