| { |
| "language": "en-US", |
| "messages": [ |
| { |
| "id": "Hello world!", |
| "key": "Hello world!\n", |
| "message": "Hello world!", |
| "translation": "Hello world!" |
| }, |
| { |
| "id": "Hello {City}!", |
| "key": "Hello %s!\n", |
| "message": "Hello {City}!", |
| "translation": "Hello {City}!" |
| }, |
| { |
| "id": "Hello {Town}!", |
| "key": "Hello %s!\n", |
| "message": "Hello {Town}!", |
| "translation": "Hello {Town}!", |
| "placeholders": [ |
| { |
| "id": "Town", |
| "string": "%[1]s", |
| "type": "string", |
| "underlyingType": "string", |
| "argNum": 1, |
| "expr": "town", |
| "comment": "Town" |
| } |
| ] |
| }, |
| { |
| "id": "{Person} is visiting {Place}!", |
| "key": "%s is visiting %s!\n", |
| "message": "{Person} is visiting {Place}!", |
| "translation": "{Person} is visiting {Place}!" |
| }, |
| { |
| "id": "{Person} is visiting {Place}!", |
| "key": "%[1]s is visiting %[3]s!\n", |
| "message": "{Person} is visiting {Place}!", |
| "translation": "{Person} is visiting {Place}!" |
| }, |
| { |
| "id": "{2} files remaining!", |
| "key": "%d files remaining!", |
| "message": "{N} files remaining!", |
| "translation": "", |
| "placeholders": [ |
| { |
| "id": "2", |
| "string": "%[1]d" |
| } |
| ] |
| }, |
| { |
| "id": "{N} more files remaining!", |
| "key": "%d more files remaining!", |
| "message": "{N} more files remaining!", |
| "translation": { |
| "select": { |
| "feature": "plural", |
| "arg": "N", |
| "cases": { |
| "one": "One file remaining!", |
| "other": "There are {N} more files remaining!" |
| } |
| } |
| } |
| }, |
| { |
| "id": "Use the following code for your discount: {ReferralCode}", |
| "key": "Use the following code for your discount: %d\n", |
| "message": "Use the following code for your discount: {ReferralCode}", |
| "translation": "" |
| }, |
| { |
| "id": [ "msgOutOfOrder", "{Device} is out of order!" ], |
| "key": "%s is out of order!", |
| "message": "{Device} is out of order!", |
| "translation": "{Device} is out of order!" |
| }, |
| { |
| "id": "{Miles} miles traveled ({Miles_1})", |
| "key": "%.2[1]f miles traveled (%[1]f)", |
| "message": "{Miles} miles traveled ({Miles_1})", |
| "translation": "{Miles} miles traveled ({Miles_1})" |
| } |
| ] |
| } |