mailing list of musl libc
 help / color / mirror / code / Atom feed
* Non-stub gettext API functions committed, ready for testing
@ 2014-07-27  8:46 Rich Felker
  2014-07-27 10:06 ` Harald Becker
  2014-07-27 10:19 ` Harald Becker
  0 siblings, 2 replies; 14+ messages in thread
From: Rich Felker @ 2014-07-27  8:46 UTC (permalink / raw)
  To: musl

As of commit 2068b4e8911a3a49cded44b4568f6c943a8c98f8, it should now
be possible to support message translation at the application level
using the gettext (libintl.h) functions provided by musl. Feedback
from users interested in this functionality would be much appreciated!

Note that some (many?) applications may attempt to use their own
included gettext rather than the one in libc, so before testing it
would be helpful to check this and make sure the functions in musl are
actually getting called. I'm not familiar with what types of checks
typical autoconf scripts do to choose whether to use libc gettext or
their own, so information on this topic would also be helpful,
especially if there's anything we could do to get apps to choose the
one in musl rather than pulling in their own bloated copy of GNU
gettext.

As mentioned in the commit message, some functionality is still
missing. For the plurals stuff, I can't find the information on how
you actually get the plural rules out of the .mo file and apply them.
For the LANGUAGE variable, it's just a matter of adding some
loop-and-retry logic.

Rich


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

end of thread, other threads:[~2014-07-29 13:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-27  8:46 Non-stub gettext API functions committed, ready for testing Rich Felker
2014-07-27 10:06 ` Harald Becker
2014-07-27 14:14   ` Szabolcs Nagy
2014-07-27 16:49     ` Rich Felker
2014-07-27 17:23       ` Szabolcs Nagy
2014-07-27 17:36         ` Rich Felker
2014-07-27 17:51           ` Szabolcs Nagy
2014-07-27 18:00             ` Rich Felker
2014-07-28 10:18               ` Szabolcs Nagy
2014-07-28 13:00                 ` Szabolcs Nagy
2014-07-28 14:01                   ` Szabolcs Nagy
2014-07-28 16:27                     ` Rich Felker
2014-07-29 13:49                       ` Szabolcs Nagy
2014-07-27 10:19 ` Harald Becker

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