How to localize ordinal numbers

Ordinal numbers are sometimes found in many websites and mobile apps, and the localization of them varies from language to language. To solve this problem, there are a number of external libraries that you can use to convert and localize ordinal number formats used in other languages.

External libraries for localizing ordinal numbers

Here are a few examples of external libraries you can use:

Tell Localize about your converted ordinal numbers

After you've implemented the localization of ordinal numbers in your website or app, the next step is to tell Localize whether to ignore those ordinal numbers that it finds in your content (if you've already provided the complete translations).

Here are a few methods that you can use, depending on your situation: