On Sun, 2009-03-22 at 21:38 +0000, John Handelaar wrote:
> Hello
> 
> So if my translation string in a template currently looks like this:
> 
>   A book called "Gulliver's Travels"
> 
> ...how do I convert that into something starting with "{% trans"   ?

You would mark the whole string for translation and, in the course of
translating it, the translators would replace "..." with «...» or „...“
or whatever. It's generally ill-advised (and very fragile) to mark only
a portion of a sentence for translation, since context is lost: for
example telling the initial and trailing quotes apart in this case.
Also, as word order varies between languages, translators have to have
the freedom to rearrange things at least at the sentence level (at the
paragraph level or greater when translating documentation).

If that doesn't answer your question, could you explain a bit more what
the problem is?

Regards,
Malcolm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to