samizdat-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: separate_translation patch 0.1


From: Dmitry Borodaenko
Subject: Re: separate_translation patch 0.1
Date: Tue, 6 Mar 2007 19:57:36 +0000

Greetings, samizdat-devel and imc-japan!

On 3/6/07, boud <address@hidden> wrote:
PATCH: The five line patch below changes the link to be the link to
the preferred language translation, *even if this is a comment rather
than an article*. In other words, this patch links directly to a
translation rather than to the parent original, especially for the
right-hand column of the front page. For users expecting to see the
article in their language, not just a title in their language, this
patch should make them feel more comfortable.

You guessed right, I spent some time thinking about this problem.

One is easier and least intrusive for existing users: add an anchor to
the translation message as seen in the thread of the parent message:
"parent#translation" or "resource.rb?id=parent&skip=n#translation",
depending on whether the translation fits into the first page of the
thread. This way, user sees the preferred translation when he clicks
on the link, but thread structure remains intact.

Another approach is more "correct": it requires support for multi-part
messages or message attachments, and will promote translations from
"special" replies (which is a nice hack, but still just a hack) into
something that can get a more special treatment.

Finally, you can "swap" parent and translation in the thread (that is,
not only in title, list, and short, but also in full mode), but leave
original ids in place. This might look like the best short-term
solution, but you need to be careful not to introduce more confusion
here. I think users should not be able to reply to translations at
all, and when you click on translation in the thread, it should show
you the translation as the main message, along with the thread of the
parent message.

--
Dmitry Borodaenko




reply via email to

[Prev in Thread] Current Thread [Next in Thread]