From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= via RT" Subject: Re: [gnu.org #881181] Re: [gnu.org #881518] Re: Package synopses and blurbs translation Date: Fri, 10 Jan 2014 08:17:17 -0500 Message-ID: References: <87bnzprorw.fsf@gnu.org> <20140107085738.GA13672@jocasta.intra> <87txdcvjow.fsf@gnu.org> <52CF88ED.7040805@gmail.com> <87lhyonfqh.fsf@gnu.org> Reply-To: web-translators@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1bxw-00066Y-VY for guix-devel@gnu.org; Fri, 10 Jan 2014 08:17:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1bxs-0002Gx-N9 for guix-devel@gnu.org; Fri, 10 Jan 2014 08:17:36 -0500 In-Reply-To: <87lhyonfqh.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: john@darrington.wattle.id.au, karl@freefriends.org Cc: guix-devel@gnu.org, bug-womb@gnu.org "Ineiev via RT" skribis: > On 01/10/2014 03:12 AM, Ludovic Courtès via RT wrote: > >> > >> (0) when a new (or corrected) translation is committed to www, www > >> translators send updates to TP, and they merge it to their PO files; > >> > >> (1) when a new translation is submitted to TP, the translators send > >> a copy to the respective www.gnu.org translation team (or > >> web-translators@gnu.org if that team doesn't maintain blurb > >> translation for some reason); of course, TP translators should know > >> what strings are blurbs. > > > > Sounds good. > > > > What would it take exactly to inform the TP folks of the process? > > Discuss with coordinator@translationproject.org, I think; they may add > their own adjustments to the procedure before actually announcing it > to the translators. OK, will do (once the remaining issue is solved.) > >> However, there is a technical problem: www translations are in HTML, > >> while guix uses plain text. it's easy to transform plain text to HTML; > >> the reverse conversion seems missing. > > > > Seems to me that the only difference in the translated strings is that > > the www ones have something like this at the end: > > > > (doc) > > > > Would it be possible somehow to remote that link from the translatable > > strings? > > But they are translatable; what may make sense is separating them > to their own msgids (also, "This package is looking for a maintainer."). > > GNUN has a means to do it when the strings can't come, say, in separate > paragraphs, , like on the home page [0], > so this could be implemented like in the attachment. Excellent. > Then, there are also s (which may "translate" into something > different, like or ) and a few other substitutions [1]. > I wonder whether it would be easier if guix used HTML in PO files and > converted it to plain text when needed; this way, no exact reverse > conversion would be necessary. That would be possible. However, we synchronize the descriptions in our source files directly with pkgblurbs.txt, which is *not* HTML. So, should pkgblurbs.txt be changed to use HTML markup, should we keep using it but implement the same markup-inference trick, or should we use another source, or...? It seems to me that the ideal would be to have (HTML) markup in the authoritative source (pkgblurbs.txt). Then users could choose whether to keep/convert/discard that markup. I believe it’s more flexible and robust than trying to infer markup from plain text like gm-generate.pl currently does. WDYT? Thanks for your help! Ludo’.