unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ineiev via RT <web-translators@gnu.org>
Cc: guix-devel@gnu.org, bug-womb@gnu.org, karl@freefriends.org
Subject: Re: [gnu.org #881181] Re: [gnu.org #881518] Re: Package synopses and blurbs translation
Date: Fri, 10 Jan 2014 14:11:50 +0100	[thread overview]
Message-ID: <87lhyonfqh.fsf@gnu.org> (raw)
In-Reply-To: <rt-3.4.5-22704-1389332664-1203.881181-5-0@rt.gnu.org> (Ineiev via's message of "Fri, 10 Jan 2014 00:44:25 -0500")

"Ineiev via RT" <web-translators@gnu.org> 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:
>  >
>  >   <small>(<a href="/manual/manual.html#pkg_3dldf\">doc</a>)</small>
>  >
>  > 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, <span class="gnun-split"></span>, like on the home page [0],
> so this could be implemented like in the attachment.

Excellent.

> Then, there are also <tt>s (which may "translate" into something
> different, like <code> or <em>) 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’.

  reply	other threads:[~2014-01-10 13:17 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <RT-Ticket-881181@rt.gnu.org>
     [not found] ` <RT-Ticket-881518@rt.gnu.org>
2014-01-06 17:41   ` Package synopses and blurbs translation Ludovic Courtès
2014-01-06 21:52     ` [bug-womb] " Karl Berry
2014-01-07  8:57     ` John Darrington
2014-01-07 10:17       ` Ludovic Courtès
2014-01-07 10:31         ` John Darrington
2014-01-07 23:00           ` Ludovic Courtès
     [not found]             ` <rt-3.4.5-19728-1389135974-1094.881518-21-0@rt.gnu.org>
     [not found]               ` <52CE264A.8010501@gmail.com>
2014-01-09  4:31                 ` [gnu.org #881181] Re: [gnu.org #881518] " Ineiev via RT
2014-01-09 10:51                   ` Ludovic Courtès
2014-01-09 10:57                     ` Ludovic Courtès via RT
     [not found]                     ` <rt-3.4.5-21633-1389265036-650.881181-75-0@rt.gnu.org>
     [not found]                       ` <52CE8766.4080501@gmail.com>
2014-01-09 11:25                         ` Ineiev via RT
2014-01-09 11:33                           ` John Darrington
2014-01-09 11:33                             ` John Darrington via RT
2014-01-09 13:24                           ` Ludovic Courtès
2014-01-09 13:29                             ` Ludovic Courtès via RT
     [not found]                             ` <rt-3.4.5-11749-1389274177-1282.881181-75-0@rt.gnu.org>
     [not found]                               ` <52CEB6A9.2000105@gmail.com>
2014-01-09 14:48                                 ` Ineiev via RT
2014-01-09 23:06                                   ` Ludovic Courtès
2014-01-09 23:12                                     ` Ludovic Courtès via RT
     [not found]                                     ` <rt-3.4.5-23172-1389309154-685.881181-75-0@rt.gnu.org>
     [not found]                                       ` <52CF88ED.7040805@gmail.com>
2014-01-10  5:44                                         ` Ineiev via RT
2014-01-10 13:11                                           ` Ludovic Courtès [this message]
2014-01-10 13:17                                             ` Ludovic Courtès via RT
     [not found]                                             ` <rt-3.4.5-26448-1389359836-1535.881181-75-0@rt.gnu.org>
     [not found]                                               ` <52D005CA.8020601@gmail.com>
2014-01-10 14:38                                                 ` Ineiev via RT
2014-01-10 22:25                                                   ` Karl Berry
2014-01-10 22:25                                                     ` Karl Berry via RT
2014-01-11 10:16                                                       ` Ludovic Courtès
2014-01-11 10:21                                                         ` Ludovic Courtès via RT
     [not found]                                                         ` <rt-3.4.5-20502-1389435706-1287.881181-75-0@rt.gnu.org>
     [not found]                                                           ` <52D1231B.2090304@gmail.com>
2014-01-11 10:55                                                             ` Ineiev via RT
2014-01-11 23:34                                                         ` [bug-womb] " Karl Berry
2014-01-11 23:34                                                           ` Karl Berry via RT
2014-01-12  6:38                                                             ` John Darrington
2014-01-12  6:39                                                               ` John Darrington via RT
2014-02-14  6:24                                                             ` [gnu.org #881181] " Ineiev via RT
2014-02-14 11:02                                                               ` Ludovic Courtès
2014-02-14 11:03                                                                 ` Ludovic Courtès via RT
2014-02-15 11:50                                                                   ` Ineiev via RT
2014-02-15 21:04                                                                     ` Ludovic Courtès
2014-02-15 21:05                                                                       ` Ludovic Courtès via RT
2014-02-14 22:46                                                               ` [bug-womb] " Karl Berry
2014-02-14 22:46                                                                 ` Karl Berry via RT
2014-01-10 13:20                                           ` [gnu.org #881181] Re: [gnu.org #881518] " John Darrington
2014-01-10 13:20                                             ` John Darrington via RT
     [not found]                                             ` <rt-3.4.5-26199-1389360045-1423.881181-75-0@rt.gnu.org>
     [not found]                                               ` <52D004D8.4090005@gmail.com>
2014-01-10 14:34                                                 ` Ineiev via RT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lhyonfqh.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-womb@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=karl@freefriends.org \
    --cc=web-translators@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).