Re: [docbook-apps] Re: [Q]  multilingual website?

From
luis miguel morillas
Date
2004-03-20T23:27:54+00:00
ID
20040321000306.GA3708@marmota
Thread
Re: [docbook-apps] Re: [Q]  multilingual website?
Asunto: Re: [docbook-apps] Re: [Q]  multilingual website?
	Fecha: vie, mar 19, 2004 at 04:37:08 +0000

Citando a  Dave Pawson ():
> At 19:16 15/03/2004, luis miguel morillas wrote:
> >But I think you don't need only to translate automatically generated text.
> >You need a way (like with gettext tools) to translate __all__ the text
> >(automatic an manual) in your website, don't you?
> 
> Yes, for any multi-lingual site.
> But having done that, how to manage those translations?
The only way i know (but i think perhaps it isn't the best)
is this http://i18n.kde.org/translation-howto/doc-translation.html

If we want to apply this workflow to docbook website sites, 
i think we must to follow the next process:

1. create docbook-original.xml files and layout.xml file.
2. generate docbook.po (xml2po) files and translate them (trasnlators task)
3. generate docbook-translated.xml files (po2xml).
4. generate html files with xslt processor, hacking layout.xml to 
   make the new docbook-translated.xml files.

This 4th step will be as automatic as possible. At the end of that we will have 
all the pairs (if we only are translating to a second language) of html files:
 file1.html.en file1.html.es
 
(sorry but i don't know if i'm explaining well what i want to say, perhaps i
need a best translation too ;)

> I think that is where Norm and his ideas are very good.
> 
> > If you use apache,
> 
> That is serving the content.
> A separate problem?
> or do you see that as a part of the transformation,
> selecting the presentation language dependant on ... what?
> 
> How can I tell a users preferred language?
> Perhaps some pre-selected option from the web site front page?
>

I's content management server task.

-- 

Luis Miguel

No a las patentes de software en Europa
EuropeSwPatentFree
http://EuropeSwPatentFree.hispalinux.es