| 1 |
% Language definition file (part of polyglossia v2.10 -- 2026/04/18) |
| 2 |
% |
| 3 |
\ProvidesFile{gloss-esperanto.ldf}[polyglossia: module for Esperanto] |
| 4 |
\PolyglossiaSetup{esperanto}{ |
| 5 |
bcp47=eo, |
| 6 |
bcp47-language=eo, |
| 7 |
bcp47-script=Latn, |
| 8 |
hyphennames={esperanto}, |
| 9 |
hyphenmins={2,2}, |
| 10 |
langtag=NTO, |
| 11 |
%TODO localalph={esperanto@alph,esperanto@Alph} |
| 12 |
} |
| 13 |
|
| 14 |
% BCP-47 compliant aliases |
| 15 |
\setlanguagealias*{esperanto}{eo} |
| 16 |
|
| 17 |
\def\captionsesperanto{% |
| 18 |
\def\refname{Citaĵoj}% |
| 19 |
\def\abstractname{Resumo}% |
| 20 |
\def\bibname{Bibliografio}% |
| 21 |
\def\prefacename{Antaŭparolo}% |
| 22 |
\def\chaptername{Ĉapitro}% |
| 23 |
\def\appendixname{Apendico}% |
| 24 |
\def\contentsname{Enhavo}% |
| 25 |
\def\listfigurename{Listo de figuroj}% |
| 26 |
\def\listtablename{Listo de tabeloj}% |
| 27 |
\def\indexname{Indekso}% |
| 28 |
\def\figurename{Figuro}% |
| 29 |
\def\tablename{Tabelo}% |
| 30 |
%\def\thepart{}% |
| 31 |
\def\partname{Parto}% |
| 32 |
\def\pagename{Paĝo}% |
| 33 |
\def\seename{vidu}% |
| 34 |
\def\alsoname{vidu ankaŭ}% |
| 35 |
\def\enclname{Aldono(j)}% |
| 36 |
\def\ccname{Kopie al}% |
| 37 |
\def\headtoname{Al}% |
| 38 |
\def\proofname{Pruvo}% |
| 39 |
\def\glossaryname{Glosaro}% |
| 40 |
} |
| 41 |
\def\dateesperanto{% |
| 42 |
\def\today{\number\day{–a}~de~\ifcase\month\or |
| 43 |
januaro\or februaro\or marto\or aprilo\or majo\or junio\or |
| 44 |
julio\or aŭgusto\or septembro\or oktobro\or novembro\or |
| 45 |
decembro\fi,\space \number\year}% |
| 46 |
\def\hodiau{la \today}% |
| 47 |
\def\hodiaun{la \number\day{–an}~de~\ifcase\month\or |
| 48 |
januaro\or februaro\or marto\or aprilo\or majo\or junio\or |
| 49 |
julio\or aŭgusto\or septembro\or oktobro\or novembro\or |
| 50 |
decembro\fi, \space \number\year}% |
| 51 |
} |
| 52 |
\def\esperanto@alph#1{% |
| 53 |
\ifcase#1\or a\or b\or c\or ĉ\or d\or e\or f\or g\or ĝ\or |
| 54 |
h\or ĥ\or i\or j\or ĵ\or k\or l\or m\or n\or o\or |
| 55 |
p\or r\or s\or ŝ\or t\or u\or ŭ\or v\or z\else\xpg@ill@value{#1}{esperanto@alph}\fi}% |
| 56 |
\def\esperanto@Alph#1{% |
| 57 |
\ifcase#1\or A\or B\or C\or Ĉ\or D\or E\or F\or G\or Ĝ\or |
| 58 |
H\or Ĥ\or I\or J\or Ĵ\or K\or L\or M\or N\or O\or |
| 59 |
P\or R\or S\or Ŝ\or T\or U\or Ŭ\or V\or Z\else\xpg@ill@value{#1}{esperanto@Alph}\fi}% |
| 60 |
|
| 61 |
\def\esperanto@numbers{% |
| 62 |
\let\@Alph\esperanto@Alph% |
| 63 |
\let\@alph\esperanto@alph% |
| 64 |
} |
| 65 |
|
| 66 |
\def\noesperanto@numbers{% |
| 67 |
\let\@Alph\latin@Alph% |
| 68 |
\let\@alph\latin@alph% |
| 69 |
} |
| 70 |
|
| 71 |
\endinput |