1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-27 08:00:11 +00:00

Implement Turkish locale

Submitted by:   Ismail YENIGUL <ismail.yenigul@endersys.com.tr>
This commit is contained in:
Andrey A. Chernov 2007-12-25 20:30:36 +00:00
parent 80169e4d40
commit 35402bd00e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174904
2 changed files with 50 additions and 2 deletions

View File

@ -21,6 +21,7 @@ LOCALES= UTF-8 \
ru_RU.CP866 \
ru_RU.ISO8859-5 \
ru_RU.KOI8-R \
tr_TR.ISO8859-9 \
uk_UA.KOI8-U \
zh_CN.eucCN \
zh_CN.GB18030 \
@ -45,7 +46,7 @@ FILESDIR_${locale}.out= ${LOCALEDIR}/${locale}
CLEANFILES= ${FILES}
ENCODINGS= CP1251 ISO8859-1 ISO8859-2 ISO8859-4 ISO8859-5 ISO8859-9 \
ENCODINGS= CP1251 ISO8859-1 ISO8859-2 ISO8859-4 ISO8859-5 \
ISO8859-15 US-ASCII UTF-8
ASCIILINKS= en_AU en_CA en_GB en_NZ en_US
@ -82,7 +83,6 @@ UTF8LINKS= af_ZA be_BY bg_BG ca_ES cs_CZ da_DK de_AT de_CH de_DE el_GR \
zh_TW
UTF-8_UTF-8= ${UTF8LINKS:C/^/:/}
US-ASCII_ISO8859-9= la_LN:tr_TR
SYMLINKS=
.for enc1 in ${ENCODINGS}

View File

@ -0,0 +1,48 @@
/*
* Standard LOCALE_CTYPE for the ISO 8859-9 Locale
*
* $FreeBSD$
*/
ENCODING "NONE"
VARIABLE ISO 8859-9 Latin-5 character set
#
# This is a comment
#
ALPHA 'A' - 'Z' 'a' - 'z' 0xc0 - 0xd6 0xd8 - 0xf6 0xf8 - 0xff
CONTROL 0x00 - 0x1f 0x7f - 0x9f
DIGIT '0' - '9'
GRAPH 0x21 - 0x7e 0xa1 - 0xff
LOWER 'a' - 'z' 0xdf - 0xf6 0xf8 - 0xff
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e 0xa1 - 0xbf 0xd7 0xf7
SPACE 0x09 - 0x0d ' ' 0xa0
UPPER 'A' - 'Z' 0xc0 - 0xd6 0xd8 - 0xde
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
BLANK ' ' '\t' 0xa0
PRINT 0x20 - 0x7e 0xa0 - 0xff
MAPLOWER <'A' - 'H' : 'a'>
MAPLOWER <'I' 0xfd>
MAPLOWER <'J' - 'Z' : 'j'>
MAPLOWER <'a' - 'z' : 'a'>
MAPLOWER <0xc0 - 0xd6 : 0xe0>
MAPLOWER <0xd8 - 0xdc : 0xf8>
MAPLOWER <0xdd 'i'>
MAPLOWER <0xde 0xfe>
MAPLOWER <0xdf - 0xf6 : 0xdf>
MAPLOWER <0xf8 - 0xff : 0xf8>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'h' : 'A'>
MAPUPPER <'i' 0xdd>
MAPUPPER <'j' - 'z' : 'J'>
MAPUPPER <0xc0 - 0xd6 : 0xc0>
MAPUPPER <0xd8 - 0xde : 0xd8>
MAPUPPER <0xe0 - 0xf6 : 0xc0>
MAPUPPER <0xf8 - 0xfc : 0xd8>
MAPUPPER <0xfd 'I'>
MAPUPPER <0xfe 0xde>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>