mailing list of musl libc
 help / color / mirror / code / Atom feed
* gettext and locale names
@ 2016-05-04 13:05 Masanori Ogino
  2016-05-04 21:39 ` Rich Felker
  0 siblings, 1 reply; 5+ messages in thread
From: Masanori Ogino @ 2016-05-04 13:05 UTC (permalink / raw)
  To: musl

Hello,

When I played with gettext API, I found that musl searches .mo files
with a directory named as current *full* locale names, e.g.
en_US.UTF-8. However, we often use shortened names too. Here is a list
of those names from those of my machine in /usr/share/locale: de,
en_GB, ru_UA.koi8u, sr@latin, etc.

Due to this mismatch, we can't get translations with musl's gettext
API for applications in wild. Thus, I'm considering to implement
locale searching with shortening. Does it make sense?

-- 
Masanori Ogino


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

end of thread, other threads:[~2016-05-20 14:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-04 13:05 gettext and locale names Masanori Ogino
2016-05-04 21:39 ` Rich Felker
2016-05-09 12:46   ` Masanori Ogino
2016-05-11 23:26     ` Rich Felker
2016-05-20 14:55       ` Masanori Ogino

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).