Skip to content
Testaroo

Explore the test library

Find files, editable templates and browser test targets by what you need to make or test. The directory below is cut by format; the two collections under it cut the same library by subject and by workflow.

161 results

Page 5 of 7; 24 results per page.

Show the canonical directory
Preview of ICU MessageFormat: Apostrophe and brace quoting
json
1.4 KB
Actual file preview for ICU MessageFormat: Apostrophe and brace quoting

ICU MessageFormat: Apostrophe and brace quoting

The quoting rules that make ICU messages surprising: a single quote starts a literal section only when the next character is one ICU cares about, a doubled '' is always one apostrophe, and '#' inside a plural branch is a literal hash. Every message is paired with the exact string it must produce.

File
JSON · Icu
Preview of ICU MessageFormat: Nested select/plural (Arabic)
json
2.1 KB
Actual file preview for ICU MessageFormat: Nested select/plural (Arabic)

ICU MessageFormat: Nested select/plural (Arabic)

Arabic ICU MessageFormat catalog whose messages nest a select inside a plural branch and a plural inside a select branch, shipped with the argument bindings and the exact output each one must produce. Includes the '#' binding trap: inside a nested plural, '#' refers to the inner argument, so the outer count is written explicitly.

File
JSON · Icu
Use case
InternationalizationLocalization catalogs+1· Conversion set
Preview of ICU MessageFormat: Nested select/plural (English)
json
2.6 KB
Actual file preview for ICU MessageFormat: Nested select/plural (English)

ICU MessageFormat: Nested select/plural (English)

English ICU MessageFormat catalog whose messages nest a select inside a plural branch and a plural inside a select branch, shipped with the argument bindings and the exact output each one must produce. Includes the '#' binding trap: inside a nested plural, '#' refers to the inner argument, so the outer count is written explicitly.

File
JSON · Icu
Use case
InternationalizationLocalization catalogs+1· Conversion set
Preview of ICU MessageFormat: Nested select/plural (Polish)
json
1.8 KB
Actual file preview for ICU MessageFormat: Nested select/plural (Polish)

ICU MessageFormat: Nested select/plural (Polish)

Polish ICU MessageFormat catalog whose messages nest a select inside a plural branch and a plural inside a select branch, shipped with the argument bindings and the exact output each one must produce. Includes the '#' binding trap: inside a nested plural, '#' refers to the inner argument, so the outer count is written explicitly.

File
JSON · Icu
Use case
InternationalizationLocalization catalogs+1· Conversion set
Preview of ICU MessageFormat: Plural offset (English)
json
1.9 KB
Actual file preview for ICU MessageFormat: Plural offset (English)

ICU MessageFormat: Plural offset (English)

The 'Rana and 5 others like this' pattern: ICU plural arguments with offset:1 and offset:2, where the explicit =0/=1/=2 selectors match the RAW value but '#' prints the value MINUS the offset. Ships every boundary case with its expected output.

File
JSON · Icu