public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/19720] pt_BR language missing AM/PM time indicators
       [not found] <bug-19720-716@http.sourceware.org/bugzilla/>
@ 2016-02-25 16:32 ` duu133 at gmail dot com
  2016-02-25 21:34 ` [Bug localedata/19720] pt_BR: " vapier at gentoo dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: duu133 at gmail dot com @ 2016-02-25 16:32 UTC (permalink / raw)
  To: libc-locales

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

duu133 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |libc-locales at sourceware dot org
          Component|locale                      |localedata

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

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

* [Bug localedata/19720] pt_BR: missing AM/PM time indicators
       [not found] <bug-19720-716@http.sourceware.org/bugzilla/>
  2016-02-25 16:32 ` [Bug localedata/19720] pt_BR language missing AM/PM time indicators duu133 at gmail dot com
@ 2016-02-25 21:34 ` vapier at gentoo dot org
  2016-04-22  3:00 ` vapier at gentoo dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: vapier at gentoo dot org @ 2016-02-25 21:34 UTC (permalink / raw)
  To: libc-locales

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|pt_BR language missing      |pt_BR: missing AM/PM time
                   |AM/PM time indicators       |indicators

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

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

* [Bug localedata/19720] pt_BR: missing AM/PM time indicators
       [not found] <bug-19720-716@http.sourceware.org/bugzilla/>
  2016-02-25 16:32 ` [Bug localedata/19720] pt_BR language missing AM/PM time indicators duu133 at gmail dot com
  2016-02-25 21:34 ` [Bug localedata/19720] pt_BR: " vapier at gentoo dot org
@ 2016-04-22  3:00 ` vapier at gentoo dot org
  2016-04-22  3:00 ` vapier at gentoo dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: vapier at gentoo dot org @ 2016-04-22  3:00 UTC (permalink / raw)
  To: libc-locales

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

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

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

* [Bug localedata/19720] pt_BR: missing AM/PM time indicators
       [not found] <bug-19720-716@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2016-04-22  3:00 ` vapier at gentoo dot org
@ 2016-04-22  3:00 ` vapier at gentoo dot org
  2016-04-22  8:49 ` duu133 at gmail dot com
  2016-04-22 22:02 ` vapier at gentoo dot org
  5 siblings, 0 replies; 6+ messages in thread
From: vapier at gentoo dot org @ 2016-04-22  3:00 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #1 from Mike Frysinger <vapier at gentoo dot org> ---
the translation of am/pm is only for locales where using 12 hour clocks is
customary.  if systems tend to use 24 hour clocks everywhere (even if in
conversation you might colloquially say something relative like "1 in the
afternoon"), then the locale should omit the am/pm indicators.

a short search indicates that 24 hour clocks are common in Brazil which means
we want to omit them from pt_BR.

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

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

* [Bug localedata/19720] pt_BR: missing AM/PM time indicators
       [not found] <bug-19720-716@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2016-04-22  3:00 ` vapier at gentoo dot org
@ 2016-04-22  8:49 ` duu133 at gmail dot com
  2016-04-22 22:02 ` vapier at gentoo dot org
  5 siblings, 0 replies; 6+ messages in thread
From: duu133 at gmail dot com @ 2016-04-22  8:49 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #2 from duu133 at gmail dot com ---
(In reply to Mike Frysinger from comment #1)
> the translation of am/pm is only for locales where using 12 hour clocks is
> customary.  if systems tend to use 24 hour clocks everywhere (even if in
> conversation you might colloquially say something relative like "1 in the
> afternoon"), then the locale should omit the am/pm indicators.
> 
> a short search indicates that 24 hour clocks are common in Brazil which
> means we want to omit them from pt_BR.

24 hours clocks are more common here, you are right

Is there any way for me to get 12 hour clocks without having to create a
separate locale?

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

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

* [Bug localedata/19720] pt_BR: missing AM/PM time indicators
       [not found] <bug-19720-716@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2016-04-22  8:49 ` duu133 at gmail dot com
@ 2016-04-22 22:02 ` vapier at gentoo dot org
  5 siblings, 0 replies; 6+ messages in thread
From: vapier at gentoo dot org @ 2016-04-22 22:02 UTC (permalink / raw)
  To: libc-locales

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Mike Frysinger <vapier at gentoo dot org> ---
(In reply to duu133 from comment #2)

unfortunately, at the locale level, i don't believe it's flexible enough to
support your request :(.

iirc, we are discussing how to add support for user-specific locales and making
it easier to blend with existing locales.  in that ideal world, you would
create a custom pt_BR file that would contain a few keywords to copy the
existing pt_BR, and then you would tweak these two fields to your liking.  but
i don't think it's going to be available soon :(.

your best bet would be to keep a script like:
#!/bin/sh
sudo sed -i '/^am_pm/s:.*:am_pm "<U0061><U006D>";"<U0070><U006D>":' \
  /usr/share/i18n/locales/pt_BR
sudo localedef -c -f UTF-8 -i pt_BR --prefix / pt_BR.UTF-8

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

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

end of thread, other threads:[~2016-04-22 22:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19720-716@http.sourceware.org/bugzilla/>
2016-02-25 16:32 ` [Bug localedata/19720] pt_BR language missing AM/PM time indicators duu133 at gmail dot com
2016-02-25 21:34 ` [Bug localedata/19720] pt_BR: " vapier at gentoo dot org
2016-04-22  3:00 ` vapier at gentoo dot org
2016-04-22  3:00 ` vapier at gentoo dot org
2016-04-22  8:49 ` duu133 at gmail dot com
2016-04-22 22:02 ` vapier at gentoo dot org

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).