public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/27163] New: Error on test glk_IR with localedef
@ 2021-01-08 16:12 alirezama at hotmail dot com
  2024-01-11 15:53 ` [Bug localedata/27163] " maiku.fabian at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: alirezama at hotmail dot com @ 2021-01-08 16:12 UTC (permalink / raw)
  To: libc-locales

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

            Bug ID: 27163
           Summary: Error on test glk_IR with localedef
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: alirezama at hotmail dot com
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

Created attachment 13105
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13105&action=edit
My glk_IR file

Hello.

I want to create glk_IR file according to this article:
https://wiki.ubuntu.com/Translations/KnowledgeBase/AddingNewLanguage

I tried to do this based on fa_IR. (Because Gilaki is similar to Farsi &
Arabic)

In the local test step, I got some errors:

[error] LC_ADDRESS: terminology language code `glk' not defined
[error] LC_ADDRESS: language abbreviation `glk' not defined
[error] LC_ADDRESS: language abbreviation `glk' not defined

I did the test like this:

sudo localedef -i glk_IR -c -f ISO-8859-6 glk_IR

Is seems it's because of these lines:

lang_ab "glk"
lang_term "glk"
lang_lib "glk"

But I'm sure glk is Gilaki's language code. I never seen any other codes for
Gilaki.

I also attached my glk_IR file. (It's NOT completed. I only want to know what I
should do about errors.)


Where should I search for this problem? Or maybe I should just ignore this?

Thank you

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug localedata/27163] Error on test glk_IR with localedef
  2021-01-08 16:12 [Bug localedata/27163] New: Error on test glk_IR with localedef alirezama at hotmail dot com
@ 2024-01-11 15:53 ` maiku.fabian at gmail dot com
  2024-01-11 16:01 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: maiku.fabian at gmail dot com @ 2024-01-11 15:53 UTC (permalink / raw)
  To: libc-locales

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-01-11
                 CC|                            |maiku.fabian at gmail dot com
           Assignee|unassigned at sourceware dot org   |maiku.fabian at gmail dot com

--- Comment #1 from Mike FABIAN <maiku.fabian at gmail dot com> ---
That is because glk is not yet in

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug localedata/27163] Error on test glk_IR with localedef
  2021-01-08 16:12 [Bug localedata/27163] New: Error on test glk_IR with localedef alirezama at hotmail dot com
  2024-01-11 15:53 ` [Bug localedata/27163] " maiku.fabian at gmail dot com
@ 2024-01-11 16:01 ` cvs-commit at gcc dot gnu.org
  2024-01-11 16:03 ` maiku.fabian at gmail dot com
  2024-01-11 16:05 ` maiku.fabian at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-01-11 16:01 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Mike Fabian <mfabian@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5398d5cf3adee24b80e2a40423c42b79f731241c

commit 5398d5cf3adee24b80e2a40423c42b79f731241c
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Thu Jan 11 16:34:49 2024 +0100

    Define ISO 639-3 "glk" (Gilaki)

    Resolves: BZ # 27163

    References:
    https://iso639-3.sil.org/code/glk
    https://en.wikipedia.org/wiki/Gilaki_language

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug localedata/27163] Error on test glk_IR with localedef
  2021-01-08 16:12 [Bug localedata/27163] New: Error on test glk_IR with localedef alirezama at hotmail dot com
  2024-01-11 15:53 ` [Bug localedata/27163] " maiku.fabian at gmail dot com
  2024-01-11 16:01 ` cvs-commit at gcc dot gnu.org
@ 2024-01-11 16:03 ` maiku.fabian at gmail dot com
  2024-01-11 16:05 ` maiku.fabian at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: maiku.fabian at gmail dot com @ 2024-01-11 16:03 UTC (permalink / raw)
  To: libc-locales

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.39
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Mike FABIAN <maiku.fabian at gmail dot com> ---
Fixed in glibc master.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug localedata/27163] Error on test glk_IR with localedef
  2021-01-08 16:12 [Bug localedata/27163] New: Error on test glk_IR with localedef alirezama at hotmail dot com
                   ` (2 preceding siblings ...)
  2024-01-11 16:03 ` maiku.fabian at gmail dot com
@ 2024-01-11 16:05 ` maiku.fabian at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: maiku.fabian at gmail dot com @ 2024-01-11 16:05 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #4 from Mike FABIAN <maiku.fabian at gmail dot com> ---
> sudo localedef -i glk_IR -c -f ISO-8859-6 glk_IR

Please use UTF-8 instead of ISO-8859-6.

With my patch:

bash-5.2# localedef -i glk_IR -f UTF-8  /tmp/glk_IR
glk_IR:325: LC_TIME: syntax error
[error] LC_TIME: field `am_pm' not defined
[error] LC_ADDRESS: field `lang_ab' must not be defined
[error] no output file produced because errors were issued
bash-5.2# 

lang_ab should be empty if there is no two letter code for the language:

lang_ab ""

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-11 16:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08 16:12 [Bug localedata/27163] New: Error on test glk_IR with localedef alirezama at hotmail dot com
2024-01-11 15:53 ` [Bug localedata/27163] " maiku.fabian at gmail dot com
2024-01-11 16:01 ` cvs-commit at gcc dot gnu.org
2024-01-11 16:03 ` maiku.fabian at gmail dot com
2024-01-11 16:05 ` maiku.fabian at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).