From c315a101098466e029097371092692cc5aa9336b Mon Sep 17 00:00:00 2001 From: jaacoppi Date: Fri, 19 Mar 2021 10:52:11 +0200 Subject: [PATCH] docs: add details about ordinal numbers --- docs/dictionary.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/dictionary.md b/docs/dictionary.md index 964fa1ea..c9df25ea 100644 --- a/docs/dictionary.md +++ b/docs/dictionary.md @@ -520,6 +520,14 @@ each language. The number fragments are given in the `*_list` file. | `_dpt` | Word spoken for the decimal point/comma. | | `_dpt2` | Word spoken (if any) at the end of all the digits after a decimal point. | + +**notes about ordinal numbers** +To enable ordinal numbers: +1. set `langopts.numbers` | NUM_ORDINAL_DOT in tr_languages.c +2. for each number symbol explained above, add a line with suffix o. +For example: `_1o` for first, `_51o` for fifty first and so on. + + ## Character Substitution Character substitutions can be specified by using a `.replace` section