From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10599 Path: news.gmane.org!.POSTED!not-for-mail From: "Konstantin P." Newsgroups: gmane.linux.lib.musl.general Subject: Gettext context support Date: Sat, 8 Oct 2016 00:28:04 +0300 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11472e82f60de9053e4d1532 X-Trace: blaine.gmane.org 1475875729 28850 195.159.176.226 (7 Oct 2016 21:28:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2016 21:28:49 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10612-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 07 23:28:45 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1bscgm-00048l-Da for gllmg-musl@m.gmane.org; Fri, 07 Oct 2016 23:28:20 +0200 Original-Received: (qmail 22417 invoked by uid 550); 7 Oct 2016 21:28:19 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 22378 invoked from network); 7 Oct 2016 21:28:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=J8IUjObhGCvtPFmE73eJ82z8ZuKGlJmgWCedTGX8UT4=; b=QjpKfakDBQdbh31zz94UEuzntfOPBCr9A5tDqyGZyKZZSJt5PA99kHZTuM1Es/HrA5 Boi+06XGZclIcZB9JUY7Wj2hDyrc44tqDNO/vo1b2PnPsKWBEF+gHUsB3pT/JPAMFn3M gpyHfNmna8kPRTNLIWRkEpAteVrTbs6rtm9f3KKvs7UckUNwXvqWk+hyodnSSWg+UtIX /ZOW+XQdrLjCWDC2qRow5M1ljaKPllGs3nv3e3ZZ6NjSSVHHqGW6pg/9oLaill+PDpqg tP2sAYeAa2uSA3GNorpCnbf2jVZH5lpECua0AAF+6DZD1MPc+HjE+4a8cjKxPpJIEUbS M4PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=J8IUjObhGCvtPFmE73eJ82z8ZuKGlJmgWCedTGX8UT4=; b=MpXv/cVzMo+m9OAlLWA0BGQuZlWifskAtayywZEgsrTONn/4fLO3DUq+/jy6QkmaTo 9iuleAsoFIIbiQehssqoEZiKVASONlss2zLPLu7sC9ubcpATm+tZU97e3ENPtzGhAhCc mO/vKvWYDUTFjzFHF+jNo7Phqujg34hmA8SccVvxOOJ0eoo3jsTa1yr9ERQqc/Yc/xiF NFYPYvZqwCp1Q+t6j3amkaelG0vYIbHbqbK5YzqqR65o/C+fxhrSy4enOs/vCQHxrCwa 0sQO2lQVpzUYF2IOgxaANS0ijZK1+HCcg+vPcq1DACiFpN2h3MaTTpGnWwFPiX9YfQ5a UjiA== X-Gm-Message-State: AA6/9RlKyrvmKi8mYg5v18T5FospO+zotlyKPzLTA0XFogBZ9H5yncsjJAfHZMrHHwmRprtzZ7OeIYZLOgy6Ew== X-Received: by 10.28.109.207 with SMTP id b76mr520797wmi.66.1475875685402; Fri, 07 Oct 2016 14:28:05 -0700 (PDT) Xref: news.gmane.org gmane.linux.lib.musl.general:10599 Archived-At: --001a11472e82f60de9053e4d1532 Content-Type: text/plain; charset=UTF-8 After trying to use musl with gentoo and Russian locale, found some problems: 1. Lack of locale utilitty 2. Lack of ability to support different translations for same strings. Some opinion about this problems: 1.I wrote a musl-locale utility: https://github.com/rilian-la-te/musl-locales 2. Implement gettext contexts support: https://www.gnu.org/software/gettext/manual/html_node/Contexts.html (I does not have an implementation patch) What do you think about this? --001a11472e82f60de9053e4d1532 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
After trying to use musl with gen= too and Russian locale, found some problems:
1. Lack of locale uti= litty
2. Lack of ability to support different translations for sam= e strings.

Some opinion about this problems:
1.I= wrote a musl-locale utility: https://github.com/rilian-la-te/musl-locales
2. Implem= ent gettext contexts support: https://www.gnu.org/software/gettext/man= ual/html_node/Contexts.html (I does not have an implementation patch)
What do you think about this?
--001a11472e82f60de9053e4d1532--