The following fragment illustrates some platform-specific sections in a locales file:
[aix]
locale = en_US, us_english, iso_1
locale = en_US.ISO8859-1, us_english, iso_1
locale = en_JP, us_english, eucjis
locale = FR_FR.IBM-850, french, cp850
locale = fr_FR.ISO8859-1, french, iso_1
locale = fr_CA, french, iso_1
locale = Fr_CA.IBM-850, french, cp850
locale = fr_CA.ISO8859-1, french, iso_1
[linux]
locale = GERMAN, german, iso_1
locale = de, german, iso_1
locale = de_AT, german, iso_1
locale = de_AT.437, german, cp437 locale = de_AT.850, german, cp850 locale = CHINESE, chinese, eucgb locale = zh_CN, chinese, eucgb locale = zh_CN.GB18030, chinese, gb18030 locale = zh_CN.gbk, chinese, eucgb locale = zh_TW, tchinese, big5