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 2 of 7; 24 results per page.

Show the canonical directory
Preview of Bidi Test-Case Matrix: eight rendering cases
csv
1.3 KB
Actual file preview for Bidi Test-Case Matrix: eight rendering cases

Bidi Test-Case Matrix: eight rendering cases

A flat index of the bidi cases in this wave, which mark each one uses, what it should render as, and why the neutral characters involved need help. Row b8 is the control case with no marks, against which the other seven are compared.

File
CSV · Bidi · 8 rows
Preview of Bidi: bracket mirroring in RTL paragraphs (Hebrew and Arabic)
txt
1.4 KB
Actual file preview for Bidi: bracket mirroring in RTL paragraphs (Hebrew and Arabic)

Bidi: bracket mirroring in RTL paragraphs (Hebrew and Arabic)

Mirroring is a rendering property of the bidi algorithm, not a transformation of the text: a U+0028 LEFT PARENTHESIS inside an RTL run is DRAWN as ')' while the stored byte never changes. These Hebrew and Arabic lines make that testable, and list the neutral characters that look like they should mirror but do not.

File
TXT · Bidi · UTF-8
Use case
InternationalizationEncoding detection+1· Conversion set
Preview of Bidi: where a mark is actually required (Arabic)
txt
2.6 KB
Actual file preview for Bidi: where a mark is actually required (Arabic)

Bidi: where a mark is actually required (Arabic)

Six Arabic sentences containing a Latin filename, a phone number, a version range, a mixed-script path, a percentage and a bracketed insertion: each shown first as a translator usually delivers it and then with the one invisible character that makes it render correctly. The two forms differ by exactly one code point.

File
TXT · Bidi · UTF-8
Use case
InternationalizationEncoding detection+1· Conversion set
Preview of CLDR Plural Rules: Arabic (6 categories)
json
1.5 KB
Actual file preview for CLDR Plural Rules: Arabic (6 categories)

CLDR Plural Rules: Arabic (6 categories)

Arabic CLDR cardinal and ordinal plural rules with the exact integer samples that select each category, the equivalent gettext Plural-Forms expression, and a note on the trap the language exposes: a catalog written with only one/other silently renders 'many' counts (11-99) with the singular noun form.

File
JSON · Cldr · Arabic
Use case
InternationalizationLocalization catalogs+1· Conversion set
Preview of CLDR Plural Rules: English (2 categories)
json
1.3 KB
Actual file preview for CLDR Plural Rules: English (2 categories)

CLDR Plural Rules: English (2 categories)

English CLDR cardinal and ordinal plural rules with the exact integer samples that select each category, the equivalent gettext Plural-Forms expression, and a note on the trap the language exposes: '1.

File
JSON · Cldr · English
Use case
InternationalizationLocalization catalogs+1· Conversion set
Preview of CLDR Plural Rules: Japanese (1 category)
json
969 B
Actual file preview for CLDR Plural Rules: Japanese (1 category)

CLDR Plural Rules: Japanese (1 category)

Japanese CLDR cardinal and ordinal plural rules with the exact integer samples that select each category, the equivalent gettext Plural-Forms expression, and a note on the trap the language exposes: japanese needs exactly one form; a pipeline that requires a 'one' key produces a catalog no japanese translator can fill in meaningfully.

File
JSON · Cldr · Japanese
Use case
InternationalizationLocalization catalogs+1· Conversion set
Preview of CLDR Plural Rules: Polish (4 categories)
json
1.7 KB
Actual file preview for CLDR Plural Rules: Polish (4 categories)

CLDR Plural Rules: Polish (4 categories)

Polish CLDR cardinal and ordinal plural rules with the exact integer samples that select each category, the equivalent gettext Plural-Forms expression, and a note on the trap the language exposes: cldr gives polish four categories but the traditional gettext header gives it three, gettext folds cldr 'many' and 'other' together because its rule takes an integer n and never sees v.

File
JSON · Cldr · Polish
Use case
InternationalizationLocalization catalogs+1· Conversion set
Preview of CLDR Plural Rules: Russian (4 categories)
json
1.5 KB
Actual file preview for CLDR Plural Rules: Russian (4 categories)

CLDR Plural Rules: Russian (4 categories)

Russian CLDR cardinal and ordinal plural rules with the exact integer samples that select each category, the equivalent gettext Plural-Forms expression, and a note on the trap the language exposes: 1 and 21 take the same form but 11 does not; a naive n==1 check gets 21 wrong.

File
JSON · Cldr · Russian
Use case
InternationalizationLocalization catalogs+1· Conversion set
Preview of CLDR Plural Rules: Welsh (6 categories)
json
1.7 KB
Actual file preview for CLDR Plural Rules: Welsh (6 categories)

CLDR Plural Rules: Welsh (6 categories)

Welsh CLDR cardinal and ordinal plural rules with the exact integer samples that select each category, the equivalent gettext Plural-Forms expression, and a note on the trap the language exposes: welsh is the only cldr locale using all six categories for both cardinals and ordinals, and its categories are enumerations (3, 6) rather than modulo ranges, a rule engine that assumes 'few' means a range fails here.

File
JSON · Cldr · Welsh
Use case
InternationalizationLocalization catalogs+1· Conversion set
Preview of CLDR Plural-Category Matrix: six languages
csv
512 B
Actual file preview for CLDR Plural-Category Matrix: six languages

CLDR Plural-Category Matrix: six languages

One row per language, one column per CLDR plural category, filled with the smallest integers that select it: the sheet to hand a translator or a PM when explaining why 'one' and 'other' is not enough. Japanese needs one form and Welsh needs six.

File
CSV · Cldr · 6 rows
Preview of Corrected gettext MO: Deutsch
mo
386 B
Actual file preview for Corrected gettext MO: Deutsch

Corrected gettext MO: Deutsch

GNU gettext loads all seven original translations using the declared UTF-8 charset. Message IDs are sorted, metadata occupies the empty key, Unicode survives, and the %s placeholder is retained. The corrected catalog preserves the legacy translations.

File
MO · Gettext Corrected
Preview of Corrected gettext MO: Français
mo
393 B
Actual file preview for Corrected gettext MO: Français

Corrected gettext MO: Français

GNU gettext loads all seven original translations using the declared UTF-8 charset. Message IDs are sorted, metadata occupies the empty key, Unicode survives, and the %s placeholder is retained. The corrected catalog preserves the legacy translations.

File
MO · Gettext Corrected
Preview of Corrected gettext MO: Português brasileiro
mo
381 B
Actual file preview for Corrected gettext MO: Português brasileiro

Corrected gettext MO: Português brasileiro

GNU gettext loads all seven original translations using the declared UTF-8 charset. Message IDs are sorted, metadata occupies the empty key, Unicode survives, and the %s placeholder is retained. The corrected catalog preserves the legacy translations.

File
MO · Gettext Corrected
Preview of Corrected gettext MO: 한국어
mo
392 B
Actual file preview for Corrected gettext MO: 한국어

Corrected gettext MO: 한국어

GNU gettext loads all seven original translations using the declared UTF-8 charset. Message IDs are sorted, metadata occupies the empty key, Unicode survives, and the %s placeholder is retained. The corrected catalog preserves the legacy translations.

File
MO · Gettext Corrected