% Language definition file (part of polyglossia v2.2 -- 2024/07/15) % \ProvidesFile{gloss-sami.ldf}[polyglossia: module for Sami] \PolyglossiaSetup{sami}{ bcp47=se, bcp47-language=se, bcp47-script=Latn, babelname=samin, hyphennames={samin}, hyphenmins={2,2}, language={Northern Sami}, langtag=NSM, fontsetup=true, } % BCP-47 compliant aliases \setlanguagealias*{sami}{se} % Babel and backwards compat. alias \setlanguagealias{sami}{samin} %\setlanguagealias[variant=northern]{sami}{samin} % TODO: Add other Sami varieties \def\sami@variant{northern} %\define@choicekey*+{sami}{variant}[\xpg@val\xpg@nr]{northern}[nothern]{% % \ifcase\xpg@nr\relax % % northern: % \def\sami@variant{samin}% % \SetLanguageKeys{sami}{language=Northern Sami,langtag=NSM}% % \SetupLatinPolyglossiaFont{sami}% % \or % % other: % \def\sami@variant{}% % \SetLanguageKeys{sami}{language= Sami,langtag=}% % \SetupLatinPolyglossiaFont{sami}% % \fi % \xpg@info{Option: sami, variant=\xpg@val}% %}{\xpg@warning{Unknown sami variant `#1'}} %\def\sami@language{% % \SetupPolyglossiaLangPatterns{\sami@variant}% %}% \def\captionssami@northern{% \def\refname{Čujuhusat}% \def\abstractname{Čoahkkáigeassu}% \def\bibname{Girjjálašvuohta}% \def\prefacename{Ovdasátni}% \def\chaptername{Kapihttal}% \def\appendixname{Čuovus}% \def\contentsname{Sisdoallu}% \def\listfigurename{Govvosat}% \def\listtablename{Tabeallat}% \def\indexname{Registtar}% \def\figurename{Govus}% \def\tablename{Tabealla}% \def\thepart{}% \def\partname{Oassi}% \def\pagename{Siidu}% \def\seename{geahča}% \def\alsoname{geahča maiddái}% \def\enclname{Mielddus}% \def\ccname{Kopia sáddejuvvon}% \def\headtoname{Vuostáiváldi}% \def\proofname{Duođaštus}% \def\glossaryname{Sátnelistu}% } \def\captionssami{% \csname captionssami@\sami@variant\endcsname% } \def\datesami@northern{% \def\today{\ifcase\month\or ođđajagemánu\or guovvamánu\or njukčamánu\or cuoŋománu\or miessemánu\or geassemánu\or suoidnemánu\or borgemánu\or čakčamánu\or golggotmánu\or skábmamánu\or juovlamánu\fi \space\number\day.~b.\space\number\year}% } \def\datesami{% \csname datesami@\sami@variant\endcsname% } \endinput