% \iffalse meta-comment
%
%% regulatory-french.def
%% Copyright 2024-2026 E. Nijenhuis
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% 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.3c or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status ‘maintained’.
%
% The Current Maintainer of this work is E. Nijenhuis.
%
% This work consists of the files listed in the meta-comment of
% regulatory-struct.dtx.
%
% \fi
%
% \subsection{\translation{French definitions}{Franse definities}}\label{sec:frenchdef}
% \setcounter{CodelineNo}{0}
%
% Part of a language file, for the same reason as \zcref{sec:germandef}: the designations and the citation
% register were measured in the French text of the General Data Protection Regulation, and the wording of
% an internal reference was not.
%
% The connective is declared empty here as well, though for a milder reason than the German one. French
% does not reshape the noun, but it fuses the preposition with the article and picks by
% gender\,---\,\enquote{de la directive} against \enquote{du règlement}, counted sixteen against seven in
% that one text\,---\,so a single default is wrong more often than it is right. A document that refers to
% another one gives it a \texttt{ref label}, which is what the German case forces anyway.
%    \begin{macrocode}
\ProvidesRegulatoryLanguage{french}
    [2026/09/10 1.0.0 French definitions for regulatory]

\DeclareTranslation{french}{article}{article}
\DeclareTranslation{french}{Article}{Article}
\DeclareTranslation{french}{articles}{articles}
\DeclareTranslation{french}{Articles}{Articles}
\DeclareTranslation{french}{paragraph}{paragraphe}
\DeclareTranslation{french}{Paragraph}{Paragraphe}
\DeclareTranslation{french}{paragraphs}{paragraphes}
\DeclareTranslation{french}{Paragraphs}{Paragraphes}
\DeclareTranslation{french}{point}{point}
\DeclareTranslation{french}{Point}{Point}
\DeclareTranslation{french}{points}{points}
\DeclareTranslation{french}{Points}{Points}
\DeclareTranslation{french}{to}{à}
\DeclareTranslation{french}{Definitions}{Définitions}
\DeclareTranslation{french}{of the}{}
%    \end{macrocode}
%
% \subsubsection{\translation{French citation register}{Frans citeerregister}}\label{sec:srcfr}
%
% How an act of the Union is cited in French, measured in the French text of the same regulation:
% \texttt{article 6, paragraphe 1, point a)}, with the commas the German register leaves out and the
% closing bracket the Dutch one also writes.
%
% There is no register for French national law here, for the same reason there is none for German.
%    \begin{macrocode}
\regulatory@ifmodule{sources}{%
\newsourceregister{french_eu}{
    articleone = article,
    articlemany = articles,
    articlenum = \regulatory@src@number@plain,
    paragraph = \regulatory@src@before,
    paragraphone = paragraphe,
    paragraphmany = paragraphes,
    paragraphnum = \regulatory@src@num@plain,
    point = \regulatory@src@before,
    pointone = point,
    pointmany = points,
    pointnum = \regulatory@src@num@paren,
    subpoint = \regulatory@src@before,
    subpointone = point,
    subpointmany = points,
    subpointnum = \regulatory@src@num@unmeasured,
    and = {~et~},
    to = {~à~},
    separator = {,~},
    determiner = du,
    connective = {},
    source = \regulatory@src@source@full@store
}{
    articleone = article,
    articlemany = articles,
    articlenum = \regulatory@src@number@plain,
    paragraph = \regulatory@src@before,
    paragraphone = paragraphe,
    paragraphmany = paragraphes,
    paragraphnum = \regulatory@src@num@plain,
    point = \regulatory@src@before,
    pointone = point,
    pointmany = points,
    pointnum = \regulatory@src@num@paren,
    subpoint = \regulatory@src@before,
    subpointone = point,
    subpointmany = points,
    subpointnum = \regulatory@src@num@unmeasured,
    and = {~et~},
    to = {~à~},
    separator = {,~},
    determiner = du,
    connective = {},
    source = \regulatory@src@source@short@store
}

\newsourcedeterminer{french_eu}{règlement}{du}
\newsourcedeterminer{french_eu}{traité}{du}
\newsourcedeterminer{french_eu}{directive}{de~la}
\newsourcedeterminer{french_eu}{décision}{de~la}
\newsourcedeterminer{french_eu}{recommandation}{de~la}
}{}
%    \end{macrocode}
%
