%D \module
%D   [       file=lang-sla,
%D        version=1999.09.13, % 1997.09.03
%D          title=\CONTEXT\ Language Macros,
%D       subtitle=Slavic Languages,
%D         author=Hans Hagen / Tobias Burnus,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for 
%C details. 

%D Thanks to Grzegorz Sapijaszko for fine||tuning the Polish 
%D section and Zeljko Vrba for the Croation translations. 
 
%  Belarussian, Russian, Ukrainian, Bulgarian, Macedonian, 
%  Serbo-Croatian, Slovenian, Czech, Kushubian, 
%  Lusatian/Sorbian/Wendish, Polish, Slovak, Albanian, 
%  Illyrian, Armenian

\writestatus{loading}{Slavic Languages}

\unprotect

\installlanguage
  [\s!pl]
  [\c!spatiering=\v!opelkaar,
   \c!leftsentence=---,
   \c!rightsentence=---,
   \c!leftsubsentence=---,
   \c!rightsubsentence=---,
   \c!leftquote=\lowerleftsingleninequote,
   \c!rightquote=\upperrightsingleninequote,
   \c!leftquotation=\lowerleftdoubleninequote,
   \c!rightquotation=\upperrightdoubleninequote,
   \c!datum={\v!dag,{.},\ ,\v!maand,\ ,\v!jaar},
   \c!status=\v!stop]

\installlanguage
  [\s!cz]
  [\c!spatiering=\v!opelkaar,
   \c!leftsentence=---,
   \c!rightsentence=---,
   \c!leftsubsentence=---,
   \c!rightsubsentence=---,
   \c!leftquote=\upperleftsinglesixquote,
   \c!rightquote=\upperrightsingleninequote,
   \c!leftquotation=\upperleftdoublesixquote,
   \c!rightquotation=\upperrightdoubleninequote,
   \c!datum={\v!dag,\ ,\v!maand,\ ,\v!jaar},
   \c!status=\v!stop]

\installlanguage 
  [\s!sk]
  [\c!spatiering=\v!opelkaar,
   \c!leftsentence=---,
   \c!rightsentence=---,
   \c!leftsubsentence=---,
   \c!rightsubsentence=---,
   \c!leftquote=\upperleftsinglesixquote,
   \c!rightquote=\upperrightsingleninequote,
   \c!leftquotation=\upperleftdoublesixquote,
   \c!rightquotation=\upperrightdoubleninequote,
   \c!datum={\v!jaar,\ ,\v!maand,\ ,\v!dag},
   \c!status=\v!stop]

\installlanguage
  [\s!hr]
  [\c!spatiering=\v!opelkaar,
   \c!leftsentence=---,
   \c!rightsentence=---,
   \c!leftsubsentence=---,
   \c!rightsubsentence=---,
   \c!leftquote=\upperleftsinglesixquote,
   \c!rightquote=\upperrightsingleninequote,
   \c!leftquotation=\upperleftdoublesixquote,
   \c!rightquotation=\upperrightdoubleninequote,
   \c!datum={\v!dag,\ ,\v!maand,\ ,\v!jaar},
   \c!status=\v!stop]

\installlanguage [polish]   [\s!pl]
\installlanguage [czech]    [\s!cz]
\installlanguage [slovak]   [\s!sk]
\installlanguage [croatian] [\s!hr]

% specifics

\startlanguagespecifics[\s!pl] 

  \installcompoundcharacter /a {\k a}
  \installcompoundcharacter /c {\'c}
  \installcompoundcharacter /e {\k e}
  \installcompoundcharacter /l {\l}
  \installcompoundcharacter /n {\'n}
  \installcompoundcharacter /o {\'o}
  \installcompoundcharacter /s {\'s}
  \installcompoundcharacter /x {\'z}
  \installcompoundcharacter /z {\.z}
  \installcompoundcharacter /A {\k A}
  \installcompoundcharacter /C {\'C}
  \installcompoundcharacter /E {\k E}
  \installcompoundcharacter /L {\L}
  \installcompoundcharacter /N {\'N}
  \installcompoundcharacter /O {\'O}
  \installcompoundcharacter /S {\'S}
  \installcompoundcharacter /X {\'Z}
  \installcompoundcharacter /Z {\.Z}

\stoplanguagespecifics

\startlanguagespecifics[\s!pl] 

  \installcompoundcharacter /, {\handlequotation\c!leftquotation}
  \installcompoundcharacter /' {\handlequotation\c!rightquotation}

  \def\setupPLlanguage%
    {\setuplanguage
       [\s!pl]
       [\c!leftsentence=\leftguillemot,
        \c!rightsentence=\rightguillemot,
        \c!leftsubsentence=\leftsubguillemot,
        \c!rightsubsentence=\rightsubguillemot]}
 
  \installcompoundcharacter /< {{\setupPLlanguage|<|}}
  \installcompoundcharacter /> {{\setupPLlanguage|>|}}

  \installcompoundcharacter /- {|-|} 

\stoplanguagespecifics

\startlanguagespecifics[\s!pl] 

  \definesortkey {/a}{a}{a}{\k a}
  \definesortkey {/A}{a}{a}{\k a}
  \definesortkey {/c}{c}{a}{\'c}
  \definesortkey {/C}{c}{a}{\'c}
  \definesortkey {/e}{e}{a}{\k e}
  \definesortkey {/E}{e}{a}{\k e}
  \definesortkey {/l}{l}{a}{\l }
  \definesortkey {/L}{l}{a}{\l }
  \definesortkey {/n}{n}{a}{\'n}
  \definesortkey {/N}{n}{a}{\'n}
  \definesortkey {/o}{o}{a}{\'o}
  \definesortkey {/O}{o}{a}{\'o}
  \definesortkey {/s}{s}{a}{\'s}
  \definesortkey {/S}{s}{a}{\'s}
  \definesortkey {/x}{z}{a}{\'x}
  \definesortkey {/X}{z}{a}{\'x}
  \definesortkey {/z}{z}{b}{\.z}
  \definesortkey {/Z}{z}{b}{\.z}

\stoplanguagespecifics

\startencoding[pdfdoc]
  \startlanguagespecifics[pl]% hm 
    \defineactivecharacter / {\simplifiedcompoundcharacter/}
  \stoplanguagespecifics
\stopencoding

% this can best be handled by \quotation and || 
% 
% \startlanguagespecifics[\s!hr] 
% 
%   %\installcompoundcharacter /, {\handlequotation\c!leftquotation}
%   %\installcompoundcharacter /' {\handlequotation\c!rightquotation}
% 
%   \def\setupHRlanguage%
%     {\setuplanguage
%        [\s!hr]
%        [\c!leftsentence=\leftguillemot,
%         \c!rightsentence=\rightguillemot,
%         \c!leftsubsentence=\leftsubguillemot,
%         \c!rightsubsentence=\rightsubguillemot]}
%  
%   \installcompoundcharacter /< {{\setupHRlanguage|<|}}
%   \installcompoundcharacter /> {{\setupHRlanguage|>|}}
% 
%   \installcompoundcharacter /- {|-|} 
% 
% \stoplanguagespecifics

% labels 

\setupheadtext [\s!pl] [\v!inhoud=Spis tre\'sci]
\setupheadtext [\s!cz] [\v!inhoud=Obsah]
\setupheadtext [\s!sk] [\v!inhoud=Obsah]
\setupheadtext [\s!hr] [\v!inhoud=Sadr\v{z}aj]

\setupheadtext [\s!pl] [\v!tabellen=Tabele]
\setupheadtext [\s!cz] [\v!tabellen=Tabulek]
\setupheadtext [\s!sk] [\v!tabellen=Tabuliek]
\setupheadtext [\s!hr] [\v!tabellen=Tablice]

\setupheadtext [\s!pl] [\v!figuren=Ilustracje]
\setupheadtext [\s!cz] [\v!figuren=Obr\'azk\r{u}]
\setupheadtext [\s!sk] [\v!figuren=Obr\'azkov]
\setupheadtext [\s!hr] [\v!figuren=Slike]

\setupheadtext [\s!pl] [\v!grafieken=Grafika]
\setupheadtext [\s!cz] [\v!grafieken=...]
\setupheadtext [\s!sk] [\v!grafieken=...]
\setupheadtext [\s!hr] [\v!grafieken=Slike]

\setupheadtext [\s!pl] [\v!intermezzos=Intermezza]
\setupheadtext [\s!cz] [\v!intermezzos=...]
\setupheadtext [\s!sk] [\v!intermezzos=...]
\setupheadtext [\s!hr] [\v!intermezzos=Intermezza]

\setupheadtext [\s!pl] [\v!index=Indeks]
\setupheadtext [\s!cz] [\v!index=Rejst\v{r}\'{\i}k]
\setupheadtext [\s!sk] [\v!index=Zoznam]
\setupheadtext [\s!hr] [\v!index=Indeks]

\setupheadtext [\s!pl] [\v!afkortingen=Skr\'ocenie]
\setupheadtext [\s!cz] [\v!afkortingen=...]
\setupheadtext [\s!sk] [\v!afkortingen=...]
\setupheadtext [\s!hr] [\v!afkortingen=Kratice]

\setupheadtext [\s!pl] [\v!logos=Znaki]
\setupheadtext [\s!cz] [\v!logos=...]
\setupheadtext [\s!sk] [\v!logos=...]
\setupheadtext [\s!hr] [\v!logos=Znakovi]

\setupheadtext [\s!pl] [\v!eenheden=Jednostki]
\setupheadtext [\s!cz] [\v!eenheden=...]
\setupheadtext [\s!sk] [\v!eenheden=...]
\setupheadtext [\s!hr] [\v!eenheden=Jednostki]

\setuplabeltext [\s!pl] [\v!tabel=Tabela ]
\setuplabeltext [\s!cz] [\v!tabel=Tabulka ]
\setuplabeltext [\s!sk] [\v!tabel=Tabu\v{l}ka ]
\setuplabeltext [\s!hr] [\v!tabel=Tablica ]

\setuplabeltext [\s!pl] [\v!figuur=Ilustracja ]
\setuplabeltext [\s!cz] [\v!figuur=Obr\'azek ]
\setuplabeltext [\s!sk] [\v!figuur=... ]
\setuplabeltext [\s!hr] [\v!figuur=Slika ]

\setuplabeltext [\s!pl] [\v!intermezzo=Intermezzo ]
\setuplabeltext [\s!cz] [\v!intermezzo=... ]
\setuplabeltext [\s!sk] [\v!intermezzo=... ]
\setuplabeltext [\s!hr] [\v!intermezzo=Intermezzo ]

\setuplabeltext [\s!pl] [\v!grafiek=Grafika ]
\setuplabeltext [\s!cz] [\v!grafiek=... ]
\setuplabeltext [\s!sk] [\v!grafiek=... ]
\setuplabeltext [\s!hr] [\v!grafiek=Slika ]

\setuplabeltext [\s!pl] [\v!hoofdstuk=] % Rozdzia\l
\setuplabeltext [\s!cz] [\v!hoofdstuk=] % Kapitola
\setuplabeltext [\s!sk] [\v!hoofdstuk=] % Kapitola
\setuplabeltext [\s!hr] [\v!hoofdstuk=] % Rozdzia\l

\setuplabeltext [\s!pl] [\v!paragraaf=] % Podrozdzia\l
\setuplabeltext [\s!cz] [\v!paragraaf=]
\setuplabeltext [\s!sk] [\v!paragraaf=]
\setuplabeltext [\s!hr] [\v!paragraaf=] % Podrozdzia\l

\setuplabeltext [\s!pl] [\v!sub\v!paragraaf=]
\setuplabeltext [\s!cz] [\v!sub\v!paragraaf=]
\setuplabeltext [\s!sk] [\v!sub\v!paragraaf=]
\setuplabeltext [\s!hr] [\v!sub\v!paragraaf=]

\setuplabeltext [\s!pl] [\v!sub\v!sub\v!paragraaf=]
\setuplabeltext [\s!cz] [\v!sub\v!sub\v!paragraaf=]
\setuplabeltext [\s!sk] [\v!sub\v!sub\v!paragraaf=]
\setuplabeltext [\s!hr] [\v!sub\v!sub\v!paragraaf=]

\setuplabeltext [\s!pl] [\v!sub\v!sub\v!sub\v!paragraaf=]
\setuplabeltext [\s!cz] [\v!sub\v!sub\v!sub\v!paragraaf=]
\setuplabeltext [\s!sk] [\v!sub\v!sub\v!sub\v!paragraaf=]
\setuplabeltext [\s!hr] [\v!sub\v!sub\v!sub\v!paragraaf=]

\setuplabeltext [\s!pl] [\v!bijlage=] % Dodatek
\setuplabeltext [\s!cz] [\v!bijlage=]
\setuplabeltext [\s!sk] [\v!bijlage=]
\setuplabeltext [\s!hr] [\v!bijlage=Dodatak ] 

\setuplabeltext [\s!pl] [\v!deel=Ust\c{e}p] 
\setuplabeltext [\s!cz] [\v!deel=\v{C}\'ast]
\setuplabeltext [\s!sk] [\v!deel=\v{C}as\v{t}]
\setuplabeltext [\s!hr] [\v!deel=Dio] 

\setuplabeltext [\s!pl] [\v!regel=wiersz ]
\setuplabeltext [\s!cz] [\v!regel=... ]
\setuplabeltext [\s!sk] [\v!regel=... ]
\setuplabeltext [\s!hr] [\v!regel=red ]  

\setuplabeltext [\s!pl] [\v!regels=wiersze ]
\setuplabeltext [\s!cz] [\v!regels=... ]
\setuplabeltext [\s!sk] [\v!regels=... ]
\setuplabeltext [\s!hr] [\v!regels=redovi ] 
 
\setuplabeltext [\s!pl]   [\v!january=stycznia]
\setuplabeltext [\s!pl]  [\v!february=lutego]
\setuplabeltext [\s!pl]     [\v!march=marca]
\setuplabeltext [\s!pl]     [\v!april=kwietnia]
\setuplabeltext [\s!pl]       [\v!may=maja]
\setuplabeltext [\s!pl]      [\v!june=czerwca]
\setuplabeltext [\s!pl]      [\v!july=lipca]
\setuplabeltext [\s!pl]    [\v!august=sierpnia]
\setuplabeltext [\s!pl] [\v!september=wrze\'snia]
\setuplabeltext [\s!pl]   [\v!october=pa\'zdziernika]
\setuplabeltext [\s!pl]  [\v!november=listopada]
\setuplabeltext [\s!pl]  [\v!december=grudnia]

\setuplabeltext [\s!cz]   [\v!january=ledna]
\setuplabeltext [\s!cz]  [\v!february=\'unora]
\setuplabeltext [\s!cz]     [\v!march=b\v{r}ezna]
\setuplabeltext [\s!cz]     [\v!april=dubna]
\setuplabeltext [\s!cz]       [\v!may=kv\v{e}tna]
\setuplabeltext [\s!cz]      [\v!june=\v{c}ervna]
\setuplabeltext [\s!cz]      [\v!july=\v{c}ervence]
\setuplabeltext [\s!cz]    [\v!august=srpna] 
\setuplabeltext [\s!cz] [\v!september=z\'a\v{r}\'\i]
\setuplabeltext [\s!cz]   [\v!october=\v{r}\'{\i}jna]
\setuplabeltext [\s!cz]  [\v!november=listopadu]
\setuplabeltext [\s!cz]  [\v!december=prosince]

\setuplabeltext [\s!sk]   [\v!january=janu\'ara]
\setuplabeltext [\s!sk]  [\v!february=febru\'ara]
\setuplabeltext [\s!sk]     [\v!march=marca]
\setuplabeltext [\s!sk]     [\v!april=apr\'{\i}la]
\setuplabeltext [\s!sk]       [\v!may=m\'aja]
\setuplabeltext [\s!sk]      [\v!june=j\'una]
\setuplabeltext [\s!sk]      [\v!july=j\'ula] 
\setuplabeltext [\s!sk]    [\v!august=augusta] 
\setuplabeltext [\s!sk] [\v!september=septembra] 
\setuplabeltext [\s!sk]   [\v!october=okt\'obra]
\setuplabeltext [\s!sk]  [\v!november=novembra] 
\setuplabeltext [\s!sk]  [\v!december=decembra]

\setuplabeltext [\s!hr]   [\v!january=sije\v{c}anj]
\setuplabeltext [\s!hr]  [\v!february=velja\v{c}a]
\setuplabeltext [\s!hr]     [\v!march=o\v{z}ujak]
\setuplabeltext [\s!hr]     [\v!april=travanj]
\setuplabeltext [\s!hr]       [\v!may=svibanj]
\setuplabeltext [\s!hr]      [\v!june=lipanj]
\setuplabeltext [\s!hr]      [\v!july=srpanj]
\setuplabeltext [\s!hr]    [\v!august=kolovoz]
\setuplabeltext [\s!hr] [\v!september=rujan]
\setuplabeltext [\s!hr]   [\v!october=listopad]
\setuplabeltext [\s!hr]  [\v!november=studeni]
\setuplabeltext [\s!hr]  [\v!december=prosinac]

\setuplabeltext [\s!pl]    [\v!sunday=niedziela]
\setuplabeltext [\s!pl]    [\v!monday=poniedzia\l ek]
\setuplabeltext [\s!pl]   [\v!tuesday=wtorek]
\setuplabeltext [\s!pl] [\v!wednesday=\'sroda]
\setuplabeltext [\s!pl]  [\v!thursday=czwartek]
\setuplabeltext [\s!pl]    [\v!friday=pi\k{a}tek] 
\setuplabeltext [\s!pl]  [\v!saturday=sobota]

\setuplabeltext [\s!hr]    [\v!sunday=nedjelja]
\setuplabeltext [\s!hr]    [\v!monday=ponedjeljak]
\setuplabeltext [\s!hr]   [\v!tuesday=utorak]
\setuplabeltext [\s!hr] [\v!wednesday=srijeda]
\setuplabeltext [\s!hr]  [\v!thursday=\v{c}etvrtak]
\setuplabeltext [\s!hr]    [\v!friday=petak] 
\setuplabeltext [\s!hr]  [\v!saturday=subota]

%D \ShowAllLanguageValues [\s!pl] [polish] poolse ...
%D \ShowAllLanguageValues [\s!cz] [czech]  tsjechische ...
%D \ShowAllLanguageValues [\s!sk] [slovak] slovaakse ...
%D \ShowAllLanguageValues [\s!hr] [croatian] croatian ...

\protect

\endinput
