Re: [PATCH v2 1/2] Documentation: Start translations to Spanish
From: Akira Yokosawa
Date: Sat Oct 15 2022 - 00:06:57 EST
Hi,
Minor nit on language code.
On Fri, 14 Oct 2022 09:24:53 -0500, Carlos Bilbao wrote:
> Start the process of translating kernel documentation to Spanish. Create
> sp_SP/ and include an index and a disclaimer, following the approach of
> prior translations. Add Carlos Bilbao as MAINTAINER of this translation
> effort.
IIUC, the language code for "Spanish (Spain)" should be "es-ES", as is
listed at e.g., http://www.lingoes.net/en/translator/langcode.htm.
The other translations use directory names found in the table, with
"-" replaced with "_". It would be better to be consistent.
Just my two cents.
Thanks, Akira
>
> Signed-off-by: Carlos Bilbao <carlos.bilbao@xxxxxxx>
> ---
> Documentation/translations/index.rst | 1 +
> .../translations/sp_SP/disclaimer-sp.rst | 6 ++
> Documentation/translations/sp_SP/index.rst | 72 +++++++++++++++++++
> MAINTAINERS | 5 ++
> 4 files changed, 84 insertions(+)
> create mode 100644 Documentation/translations/sp_SP/disclaimer-sp.rst
> create mode 100644 Documentation/translations/sp_SP/index.rst
>
> diff --git a/Documentation/translations/index.rst b/Documentation/translations/index.rst
> index 1175a47d07f0..b826c34791c0 100644
> --- a/Documentation/translations/index.rst
> +++ b/Documentation/translations/index.rst
> @@ -12,6 +12,7 @@ Translations
> it_IT/index
> ko_KR/index
> ja_JP/index
> + sp_SP/index
>
>