Example localization file

The partial collating sequence file included in this section illustrates some of the syntax rules discussed in “Localization file syntax rules”.

When looking at the file, please note the following:

NoteThe ellipsis “...” indicates deletion of actual file contents.

 ; semi-colon is the comment character
 [sortorder]
 ;----------------------------------------------------------------
 ; Overview
 ; --------
 ; Case-sensitive sort order based on the ISO 8859-1 code set.
 ; Uppercase characters sort before lowercase counterparts.
 ;
 ; Ligatures and sort doubles
 ; --------------------------
 ; AE, ae ligatures
 ; German sharp-s ligature with “ss”
 ;
 ; Sort order
 ; ----------
 ; 1. non-alphanumeric characters in binary order
 ; 2. numeric digits
 ; 3. alphabetic characters used in English, French, German
 ; 4. Alphabetic characters not used in English, French, German
 ;
 ; Format
 ; ------
 ; Default formatting values. There is no [file format] section.
 ;----------------------------------------------------------------class = 0x01
 id = 0x33
 menuname = “Case-sensitive dictionary sort order”
 name = dictionary
 charset = iso_1
 description = “Dictionary sort order for use with English,\ French and German.
 ISO 8859-1,case sensitive.”
 ;
 ; Ligatures for English, French, German
 lig = 0xC6, after AE
 lig = 0xE6, after ae
 lig = 0xDF, after ss
 ;
 ; Control characters
 char = 0x01(SOH) start of heading
 ...
 char = 0x1F;(US) unit separator
 ;
 ; All non-alphanumeric characters, including punctuation,sorted
 ; by numerical ordering
 char = 0x20;( ) space
 ...
 char = 0xF7;division sign
 ;
 ; Digits
 char = 0x30;(0) digit zero
 ...
 char = 0x39;(9) digit nine
 ;
 ; Latin alphabet
 char = 0x41,0x61,0xC0,0xE0,0xC1,0xE1,0xC2,0xE2,0xC3,0xE3,0xC4,
 0xE4,0xC5,0xE5 
 ; letter A, a, A-grave, a-grave, A-acute, a-acute, A-circumflex,
 ; a-circumflex, A-tilde, a-tilde, A-diaeresis, a-diaeresis,
 ; A-ring, a-ring
 ...
 char = 0x5A,0x7A;letter Z,z
 ;
 ; Alphabetic characters not used in English, French, German
 char = 0xD0,0xF0;Icelandic letter Eth, eth
 ...