Back

The ICU Format

The ICU (International Components for Unicode) format is a way of handling different linguistic and cultural needs for a given localization.

Across different cultures, things like count of objects, numbers (i.e. money), gender, and dates can cause a sentence structure to change in a unique way to that language.

Additionally, you may have a dynamic value used in your localization, which would need to be handled differently based on different languages' grammar, etc.


Object Count Examples

You have no items in your cart

You have 1 item in your cart

You have 2 items in your cart

You have 3 items in your cart


Number Examples

Default number

1,000,000,000.123

Percentage

69.420%

Measurement

5,000 meters

Currency Notation (USD)

$32,000.99

Scientific Notation

5E12

More skeletons here


Gender examples

There is 1 student (male)

There are 2 students (male)

There are 3 students (male)

There is 1 student (female)

There are 2 students (female)

There are 3 students (female)