\ProvidesFile{gloss-turkish.ldf}[polyglossia: module for turkish] \RequirePackage{hijrical} \makeatletter \PolyglossiaSetup{turkish}{ hyphennames={turkish}, hyphenmins={2,2}, langtag=TRK, frenchspacing=true, fontsetup=true } \newXeTeXintercharclass\turkish@punctthin % ! : \newXeTeXintercharclass\turkish@punctthick % = \def\turkish@punctthinspace{{\ifdim\lastskip>\z@\unskip\penalty\@M\thinspace\fi}} \def\turkish@punctthickspace{{\unskip\nobreakspace}} \def\turkish@punctuation{% \XeTeXinterchartokenstate=1% \XeTeXcharclass `\! \turkish@punctthin \XeTeXcharclass `\: \turkish@punctthin \XeTeXcharclass `\= \turkish@punctthick \XeTeXinterchartoks \z@ \turkish@punctthin = \turkish@punctthinspace \XeTeXinterchartoks \z@ \turkish@punctthick = \turkish@punctthickspace } \def\noturkish@punctuation{% \XeTeXcharclass `\! \z@ \XeTeXcharclass `\: \z@ \XeTeXcharclass `\= \z@ \XeTeXinterchartokenstate=0% } \def\captionsturkish{% \def\prefacename{Önsöz}% \def\refname{Kaynaklar}% \def\abstractname{Özet}% \def\bibname{Kaynakça}% \def\chaptername{Bölüm}% \def\appendixname{Ek}% \def\contentsname{İçindekiler}% \def\listfigurename{Şekil Listesi}% \def\listtablename{Tablo Listesi}% \def\indexname{Dizin}% \def\figurename{Şekil}% \def\tablename{Tablo}% \def\partname{Kısım}% \def\enclname{İlişik}% \def\ccname{Diğer Alıcılar}% \def\headtoname{Alıcı}% \def\pagename{Sayfa}% \def\subjectname{İlgili}% \def\seename{bkz.}% \def\alsoname{ayrıca bkz.}% \def\proofname{Kanıt}% \def\glossaryname{Lügatçe}% } \def\dateturkish{% \def\today{\number\day~\ifcase\month\or Ocak\or Şubat\or Mart\or Nisan\or Mayıs\or Haziran\or Temmuz\or Ağustos\or Eylül\or Ekim\or Kasım\or Aralık\fi \space\number\year} } \def\hijrimonthturkish#1{\ifcase#1% \or Muharrem\or Safer\or Rebiülevvel\or Rebiülahir\or Cemaziyelevvel\or Cemaziyelahir\or Recep\or Şaban\or Ramazan\or Şevval\or Zilkade\or Zilhicce\fi} %%\Hijritoday is now locale-aware and will format the date with this macro: \DefineFormatHijriDate{turkish}{% \number\value{Hijriday}\space\hijrimonthturkish{\value{Hijrimonth}}\space\number\value{Hijriyear}} \def\noextras@turkish{% \noturkish@punctuation% } \def\blockextras@turkish{% \turkish@punctuation% } \def\inlineextras@turkish{% \turkish@punctuation% } \makeatother \endinput