"description": "The conventional newborn programmer greeting"
},
"hello": "Hello {world}",
"@hello": {
"description": "A message with a single parameter",
"placeholders": {
"world": {}
}
},
"greeting": "{hello} {world}",
"@greeting": {
"description": "A message with a two parameters",
"placeholders": {
"hello": {},
"world": {}
}
},
"helloWorldOn": "Hello World on {date}",
"@helloWorldOn": {
"description": "A message with a date parameter",
"placeholders": {
"date": {
"type": "DateTime",
"format": "yMMMMEEEEd"
}
}
},
"helloWorldDuring": "Hello World from {startDate} to {endDate}",
"@helloWorldDuring": {
"description": "A message with two date parameters",
"placeholders": {
"startDate": {
"type": "DateTime",
"format": "y"
},
"endDate": {
"type": "DateTime",
"format": "y"
}
}
},
"helloOn": "Hello {world} on {date} at {time}",
"@helloOn": {
"description": "A message with date and string parameters",
"placeholders": {
"world": {
},
"date": {
"type": "DateTime",
"format": "yMd"
},
"time": {
"type": "DateTime",
"format": "Hm"
}
}
},
"helloFor": "Hello for {value}",
"@helloFor": {
"description": "A message with a double parameter",
"placeholders": {
"value": {
"type": "double",
"format": "compact"
}
}
},
"helloCost": "Hello for {price} {value}",
"@helloCost": {
"description": "A message with string and int (currency) parameters",
"placeholders": {
"price": {
},
"value": {
"type": "int",
"format": "currency"
}
}
},
"helloWorlds": "{count,plural, =0{Hello} =1{Hello World} =2{Hello two worlds} few{Hello {count} worlds} many{Hello all {count} worlds} other{Hello other {count} worlds}}",
"@helloWorlds": {
"description": "A plural message",
"placeholders": {
"count": {}
}
},
"helloAdjectiveWorlds": "{count,plural, =0{Hello} =1{Hello {adjective} World} =2{Hello two {adjective} worlds} other{Hello other {count} {adjective} worlds}}",
"@helloAdjectiveWorlds": {
"description": "A plural message with an additional parameter",
"placeholders": {
"count": {},
"adjective": {}
}
},
"helloWorldsOn": "{count,plural, =0{Hello on {date}} =1{Hello World, on {date}} =2{Hello two worlds, on {date}} other{Hello other {count} worlds, on {date}}}",
"@helloWorldsOn": {
"description": "A plural message with an additional date parameter",
"placeholders": {
"count": {},
"date": {
"type": "DateTime",
"format": "yMMMMEEEEd"
}
}
},
"helloWorldPopulation": "{count,plural, =1{Hello World of {population} citizens} =2{Hello two worlds with {population} total citizens} many{Hello all {count} worlds, with a total of {population} citizens} other{Hello other {count} worlds, with a total of {population} citizens}}",
"@helloWorldPopulation": {
"description": "A plural message with an additional integer parameter",
"placeholders": {
"count": {},
"population": {
"type": "int",
"format": "compactLong"
}
}
},
"helloWorldInterpolation": "[{hello}] #{world}#",
"@helloWorldInterpolation": {
"description": "A message with parameters that need string interpolation braces",
"placeholders": {
"hello": {},
"world": {}
}
},
"helloWorldsInterpolation": "{count,plural, other {[{hello}] -{world}- #{count}#}}",
"@helloWorldsInterpolation": {
"description": "A plural message with parameters that need string interpolation braces",