A project I came across has localization with follow structure
Each language has a directory under which there would be one file with same name as directory + '.arb' extension.
en/en.arb
I am not able to find a document that explains the format of this file. Sample content from the .arb file
"FOO_123": "Your pending cost is {COST}",
"@FOO_123": {
"source_text": "Your pending cost is {COST}",
"placeholders": {
"COST": {
"example": "$123.45",
"description": "cost presented with currency symbol"
}
}
The closest one I could find is this.
Is this authoritative document for understanding '.arb' files?
What does a resource whose value has an anchor tag with a href look like? Is this correct way?
"FOO_124": "Refer to this {LINK}", "@FOO_124": { "source_text": "Refer to this {LINK}", "placeholders": { "LINK": { "example": "<a href="https://en.wikipedia.org/">Encyclopedia</a>", "description": "Link to the Encyclopedia page" } }