%% The LaTeX package genealogytree - version 2.4.0 (2026/05/06)
%% gtrlang.swedish.code.tex: Swedish language
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2013-2026 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
%% Translation by Per Starbaeck <per at starback.se>
%% -------------------------------------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `author-maintained'.
%%
%% This work consists of all files listed in README
%%
\gtr@set@library@version{2.4.0}

\gtrset{language@/swedish/.code={%
  \gtrset{symlang/.cd,
    Born=f\"odd,
    Bornoutofwedlock=f\"odd utom \"aktenskapet,
    Stillborn=d\"odf\"odd,
    Diedonbirthday=d\"od p\protect\aa{} f\"odelsedagen,
    Baptized=d\"opt,
    Engaged=f\"orlovad,
    Married=gift,
    Divorced=skild,
    Partnership=partner,
    Floruit=floruit,
    Died=d\"od,
    Killed=d\"od i strid,
    Buried=begravd,
    Funeralurn=kremerad,
    Female=kvinna,
    Male=man,
    Neuter=ok\"ant k\"on
  }%
  \gtrset{%
    month long/.cd,
    01/.initial=januari,
    02/.initial=februari,
    03/.initial=mars,
    04/.initial=april,
    05/.initial=maj,
    06/.initial=juni,
    07/.initial=juli,
    08/.initial=augusti,
    09/.initial=september,
    10/.initial=oktober,
    11/.initial=november,
    12/.initial=december,
  }%
  \gtrset{%
    month short/.cd,
    01/.initial=jan\protect\dot,
    02/.initial=feb\protect\dot,
    03/.initial=mar\protect\dot,
    04/.initial=apr\protect\dot,
    05/.initial=maj,
    06/.initial=jun\protect\dot,
    07/.initial=jul\protect\dot,
    08/.initial=aug\protect\dot,
    09/.initial=sep\protect\dot,
    10/.initial=okt\protect\dot,
    11/.initial=nov\protect\dot,
    12/.initial=dec\protect\dot,
  }%
  \gtrset{%
    set@typical@date@format=d month yyyy,
    calendar text for=AD is {}{ e.\,kr.},
    calendar text for=BC is {}{ f.\,kr.},
    calendar text for=GR is {}{\protect\textsuperscript{greg.}},
    calendar text for=JU is {}{\protect\textsuperscript{jul.}},
    calendar text for=caAD is {ca.~}{ e.\,kr.},
    calendar text for=caBC is {ca.~}{ f.\,kr.},
    calendar text for=ca is {ca.~}{},
    date range full={}{--}{},
    date range before={f\"ore }{},
    date range after={efter }{},
    place text={i }{},
  }%
}}
