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
Message References
In Fluent we can use Message References in placeables. A simple example would be:
menu-save = Save help-menu-save = Click { menu-save } to save the file.
As per doc:
Referencing other messages generally helps to keep certain translations consistent across the interface and makes maintenance easier.
But, when I am doing locize save-missing the, message refenences are synced in the Locize project.
locize save-missing
Create a common.ftl file.
common.ftl
Put the following content in ftl file.
hello = Hello hello-world = { hello } World
Do locize save-missing
locize save-missing --project-id=$LOCIZE_PROJECT_ID --api-key=$LOCIZE_API_KEY --namespace=common --language=en --format=fluent
While doing this, I get this unusual message:
unknown1 getMessageReference MessageReference { type: 'MessageReference', id: Identifier { type: 'Identifier', name: 'hello' }, attribute: null } unknown1 getMessageReference MessageReference { type: 'MessageReference', id: Identifier { type: 'Identifier', name: 'hello' }, attribute: null } adding 3 keys in en/common... FINISHED
But, it's uploads the message Identifiers to Locize App.
Check the Locize App
As you can see, the hello-world should be { hello } World but it is not.
hello-world
{ hello } World
In Locize App, it should save message refenences as well. hello-world should be { hello } World instead of just World
World
The text was updated successfully, but these errors were encountered:
b55d67f
v7.14.1 should fix this
Sorry, something went wrong.
No branches or pull requests
🐛 Bug Report
In Fluent we can use Message References in placeables. A simple example would be:
As per doc:
But, when I am doing
locize save-missing
the, message refenences are synced in the Locize project.To Reproduce
Create a
common.ftl
file.Put the following content in ftl file.
Do
locize save-missing
While doing this, I get this unusual message:
But, it's uploads the message Identifiers to Locize App.
Check the Locize App
As you can see, the
hello-world
should be{ hello } World
but it is not.Expected behavior
In Locize App, it should save message refenences as well.
hello-world
should be{ hello } World
instead of justWorld
Your Environment
The text was updated successfully, but these errors were encountered: