Skip to content

Instantly share code, notes, and snippets.

@mbfakourii
Last active January 25, 2023 11:08
Show Gist options
  • Save mbfakourii/1e983363ca59d9cdbde5e28f25b5f292 to your computer and use it in GitHub Desktop.
Save mbfakourii/1e983363ca59d9cdbde5e28f25b5f292 to your computer and use it in GitHub Desktop.
{
"@@locale": "en",
"pageHomeListTitle": "Some localized strings:",
"pageHomeSamplePlaceholder": "Welcome {name}",
"pageHomeSamplePlaceholdersOrdered": "My name is {lastName}, {firstName} {lastName}",
"@pageHomeSamplePlaceholdersOrdered": {
"placeholders": {
"firstName": {},
"lastName": {}
}
},
"pageHomeSamplePlural": "{howMany, plural, one{You have 1 message} other{You have {howMany} messages}}",
"@pageHomeSamplePlural": {
"placeholders": {
"howMany": {
"type": "int"
}
}
},
"pageHomeSampleTotalAmount": "Total: {total}",
"@pageHomeSampleTotalAmount": {
"placeholders": {
"total": {
"type": "double",
"format": "currency",
"optionalParameters": {
"symbol": "€",
"decimalDigits": 2
}
}
}
},
"pageHomeSampleCurrentDateTime": "Date: {date} Time: {time}",
"@pageHomeSampleCurrentDateTime": {
"placeholders": {
"date": {
"type": "DateTime",
"format": "yMd"
},
"time": {
"type": "DateTime",
"format": "Hm"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment