mailing list of musl libc
 help / color / mirror / code / Atom feed
* [xhe] gettext-tiny 0.2.0 released, intl is now completely usable
@ 2017-08-02 15:49 He X
  2017-08-02 15:56 ` Rich Felker
  2017-08-02 16:27 ` A. Wilcox
  0 siblings, 2 replies; 4+ messages in thread
From: He X @ 2017-08-02 15:49 UTC (permalink / raw)
  To: musl; +Cc: maillist-musl

[-- Attachment #1: Type: text/plain, Size: 3157 bytes --]

Hi, everybody!

I'm glad to announce release 0.2.0 of gettext-tiny.

This release is a milestone in the gettext-tiny development, as it
adds a full-fledged msgfmt tool, which is finally capable to produce
real translations, supporting all necessary (in real-world use)
features of the GNU implementation, such as plural forms, fuzzy marks.

What is especially important for musl users is that it supports SYSDEP
replacements.

The latter is a relatively recent addition to GNU gettext to deal with
system-dependent format strings[0]. It is problematic in that GNU does
the expansion at run-time, thereby requiring read/write memory for
something that should be (and was in the past) entirely read-only and
could be shared among processes, and so defeating the entire purpose
of the precompiled translations.

This is why musl's libintl implementation opts out of this feature and
requires the msgfmt tool to expand the SYSDEP strings into all
possible variations, so there's no need for dynamic memory allocation
to support it.

gettext-tiny now has the first implementation of msgfmt which is
compatible to musl's requirement, this means that for the first time
it will be possible for musl users to enjoy their software with
working translations, without the need to use an external libintl
implementation for that.

Note that msgmerge and xgettext are still stubs, but they are
sufficient to build about 1000 packages from sabotage linux[1] without
any issues, as well as all packages
in no-name linux[2].

I personally was using it daily, fixing bugs and coding new
functionality for months, and believe it is ready for prime-time now.

fetch your source tarball at
:http://ftp.barfooze.de/pub/sabotage/tarballs/gettext-tiny-0.2.0.tar.xz

$ sha512sum gettext-tiny-0.2.0.tar.xz
4d8d9d02042adf023bfd2502fa7598f9b16ef2e03dd3d39fd3ba36f1be1d884d1b891600d9263e11948e3979909ea810a1d1b8cefc7e522feda8b422a1107a2e
 gettext-tiny-0.2.0.tar.xz

git repo @ https://github.com/sabotage-linux/gettext-tiny


Note that during the last months I also found some bugs in musl's
libintl, and they have been fixed in upstream. So, with new
gettext-tiny and those patches, I now have a system with full
translation support. I can assure you that both gettext-tiny and
musl's gettext are completely usable. Enjoy your translations from
now!

These are the patches for musl, if you can't wait for
1.1.17:https://git.musl-libc.org/cgit/musl/commit/?id=01e6bbece2bdcac243cdb8dff6916f2bb80a19e1https://git.musl-libc.org/cgit/musl/commit/?id=dbbb3734d8c0176feabd6c46e2e85bbc3b8a60afhttps://git.musl-libc.org/cgit/musl/commit/?id=16319a5df9d50cfc642ffc8db76bc36562d4b3ddhttps://git.musl-libc.org/cgit/musl/commit/?id=e4fc9ad780e36c84e1ed6b0fc01b3c53ae65ff9dhttps://git.musl-libc.org/cgit/musl/commit/?id=e6917eced2cc841fe3dfd9c04deec9202f9e34f3https://git.musl-libc.org/cgit/musl/commit/?id=d6601f0af0452b218d247cb47513fc9cd6bbf2e2


Best regards,
xhe


References:
[0] - http://www.openwall.com/lists/musl/2015/04/16/1
[1] - https://github.com/sabotage-linux/sabotage
[2] - https://github.com/xhebox/noname-linux

[-- Attachment #2: Type: text/html, Size: 4202 bytes --]

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

* Re: [xhe] gettext-tiny 0.2.0 released, intl is now completely usable
  2017-08-02 15:49 [xhe] gettext-tiny 0.2.0 released, intl is now completely usable He X
@ 2017-08-02 15:56 ` Rich Felker
  2017-08-02 16:27 ` A. Wilcox
  1 sibling, 0 replies; 4+ messages in thread
From: Rich Felker @ 2017-08-02 15:56 UTC (permalink / raw)
  To: musl

On Wed, Aug 02, 2017 at 11:49:15PM +0800, He X wrote:
> Hi, everybody!
> 
> I'm glad to announce release 0.2.0 of gettext-tiny.

Great to hear! Thanks for the update/good news.

Rich


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

* Re: [xhe] gettext-tiny 0.2.0 released, intl is now completely usable
  2017-08-02 15:49 [xhe] gettext-tiny 0.2.0 released, intl is now completely usable He X
  2017-08-02 15:56 ` Rich Felker
@ 2017-08-02 16:27 ` A. Wilcox
  2017-08-03  1:58   ` He X
  1 sibling, 1 reply; 4+ messages in thread
From: A. Wilcox @ 2017-08-02 16:27 UTC (permalink / raw)
  To: musl

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 02/08/17 10:49, He X wrote:
> Hi, everybody!
> 
> I'm glad to announce release 0.2.0 of gettext-tiny.
> 
> gettext-tiny now has the first implementation of msgfmt which is 
> compatible to musl's requirement, this means that for the first 
> time it will be possible for musl users to enjoy their software 
> with working translations, without the need to use an external 
> libintl implementation for that.
> 
> I personally was using it daily, fixing bugs and coding new 
> functionality for months, and believe it is ready for prime-time 
> now.


This is fantastic news for us over at Adélie, where we really want to
be able to provide non-English interfaces for our users.  Thank you so
much for your work and I look forward to integrating it very soon.

As a question, does gettext-tiny have an official Web site, mailing
list, bug tracker, or something of that ilk in case there is an issue?
 It would also be nice to put a URL in the package description for
people who want to learn more if it is possible as well.  Let me know.

Best,
- --arw


> 
> 
> Best regards, xhe
> 
> 
> References: [0] - http://www.openwall.com/lists/musl/2015/04/16/1 
> [1] - https://github.com/sabotage-linux/sabotage [2] -
> https://github.com/xhebox/noname-linux
> 


- -- 
A. Wilcox (awilfox)
Project Lead, Adélie Linux
http://adelielinux.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJZgf1uAAoJEMspy1GSK50UTRQQAJ9yKhCa27P2OMroyTeJyBRx
xCL3Frl1HzA3AOXpwYj0aCnVuzyzVfu41R7p3hBV14l+Mewr/u+viDO85L0z8gWa
Q2eC2RGNRmCz9OXs7Zn9ScOZ1PkYqOhZVO6br2kFEWQkA+p3u+w7wTlVaUiNT6MD
WoDdZ5PvW/1/R9Ic3EFHKsuPbY81dzRW8BSm8JCRhX5oyr+CnLH2pLOSwJCKAiTT
NEMTiB2MH1PtCKO8eFIDkGaAqA2vHyL3HDTSDpKSmuj4S+iwiKycsu9QvhO+O9HX
tzTEojrpgN6tYSZ8AQ4CQKvJ/mG7UOuCVYRsR/rVoxalS7F330guxM4YknWOOQ8q
QoAHkxv0OHOmIUB8AgG6wdXjcMNJ30LbnsfIx/LYk+X9Hmd8sDT98gklrJiGYrC9
PhGmeNSEn/a+9Vf2j0rCaNm1mUJRnkX6H9ao7srg1t4Cr+zLBEn2Vco0LntNXdua
UTnHji9wECL+UZnZzST+b85FG6UhCUcQH/HEiBQG3+CbtkWl9j17ptHcuwGKianC
9jwF4UJM8x8yCMoTI5gI2WRt6anVCgaXi1GqE7FJEib2WnFIB3l++Myl/BtKM4qK
4EMXPW2ncf4Fle3IJuZPaEz5yUtJPuxghL+tn3MnDTRoGqE6OzM2WWgcC2nE7TUV
cXeVJPQvphMoNloZPn1k
=eE0o
-----END PGP SIGNATURE-----


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

* Re: [xhe] gettext-tiny 0.2.0 released, intl is now completely usable
  2017-08-02 16:27 ` A. Wilcox
@ 2017-08-03  1:58   ` He X
  0 siblings, 0 replies; 4+ messages in thread
From: He X @ 2017-08-03  1:58 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

> As a question, does gettext-tiny have an official Web site, mailing
> list, bug tracker, or something of that ilk in case there is an issue?
 > It would also be nice to put a URL in the package description for
> people who want to learn more if it is possible as well.  Let me know.

No, it did not, if you want to report a bug, just open an issue on github.
Or join #sabotage, #nonamelinux.

And, for description, it's all on github, simply add the repo URL:
https://github.com/sabotage-linux/gettext-tiny

[-- Attachment #2: Type: text/html, Size: 1025 bytes --]

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

end of thread, other threads:[~2017-08-03  1:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02 15:49 [xhe] gettext-tiny 0.2.0 released, intl is now completely usable He X
2017-08-02 15:56 ` Rich Felker
2017-08-02 16:27 ` A. Wilcox
2017-08-03  1:58   ` He X

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