This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/20498] miq_NI: new Mískitu / Miskito (miq) language locale for Nicaragua


https://sourceware.org/bugzilla/show_bug.cgi?id=20498

Mike FABIAN <maiku.fabian at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-09-01
     Ever confirmed|0                           |1

--- Comment #4 from Mike FABIAN <maiku.fabian at gmail dot com> ---
(In reply to Chris Leonard from comment #3)
> Created attachment 9475 [details]
> new Mískitu / Miskito (miq) language locale for Nicaragua

    @@ -, +, @@ 
    ---
     localedata/SUPPORTED      |   2 +-
     localedata/locales/miq_NI | 185
++++++++++++++++++++++++++++++++++++++++++++++
     2 files changed, 186 insertions(+), 1 deletion(-)
     create mode 100644 localedata/locales/miq_NI
    --- a/localedata/SUPPORTED  
    +++ a/localedata/SUPPORTED  
    @@ -8,7 +8,6 @@ aa_ER@saaho/UTF-8 \
     aa_ET/UTF-8 \
     af_ZA.UTF-8/UTF-8 \
     af_ZA/ISO-8859-1 \
    -agr_PE/UTF-8 \
     ak_GH/UTF-8 \
     am_ET/UTF-8 \
     an_ES.UTF-8/UTF-8 \

That is probably an error, I don’t think you want to remove agr_PE.

    [...]

   
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    +%
    +% Mískitu / Miskito (miq) language locale for Nicaragua
    +%
    +% Charset: UTF-8

I recently removed all these “% Charset: ...” comments  from the locale
sources:

commit 39b20aae21e4635296f4ebc4d80f4eb6c1cb4cbe
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Mon Aug 7 17:19:07 2017 +0200

    Remove “% Charset: ...” comments from locale sources

    These comments are useless and only confusing.  The encodings used to
    create binary locales from source locales are listed in the
    localedata/SUPPORTED file.  The source files itself are ASCII or UTF-8
    encoded where non-ASCII UTF-8 is currently only used in comments. If
    all locale source files are UTF-8 anyway, there is no need to specify
    that in a special comment.

So I think we don’t need this “% Charset: ...” comment anymore.


    [...]

    +LC_IDENTIFICATION
    +title      "Mískitu (agr) language locale for Nicaragua"
                          ^^^ typo, should be miq I think.

    +language  "Mískitu"

Should probably be “Miskito”, https://en.wikipedia.org/wiki/Miskito_language
says:

“Miskito (Mískitu in the Miskito language)”

so “Miskito” seems to be the English name of this language and
the “language” tag in LC_IDENTIFICATION should contain the English name.

    [...]

    +LC_ADDRESS
    +copy "es_NI"
    +END LC_ADDRESS

It does not seem correct to copy this from "es_NI" because that would give us:

    LC_ADDRESS
    postal_fmt    "%f%N%a%N/
    %d%N%b%N%s/
     %h %e %r%/
    N%z %T%/
    N%c%N"
    country_name "Nicaragua"
    country_ab2   "NI"
    country_ab3   "NIC"
    country_num   558
    % NIC
    country_car    "NIC"
    % Español
    lang_name     "español"
    % es
    lang_ab      "es"
    % spa
    lang_term    "spa"
    % spa
    lang_lib    "spa"
    END LC_ADDRESS

Which would make lang_name, lang_ab, lang_term, and lang_lib wrong.

Probably it should be:

    LC_ADDRESS
    postal_fmt   "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
    country_name "Nicaragua"
    country_ab2  "NI"
    country_ab3  "NIC"
    country_num   558
    country_car   "NIC"
    lang_name     "M<U00ED>skitu"
    lang_term     "miq"
    lang_lib      "miq"
    END LC_ADDRESS

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]