Mulilingual plugin

Pablo Barrera González <barrera-eneoqThHf3GDmu24MmG3/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <1084982019.1722.157.camel@granizo>
Hello everyone

I'll start a multilingual plugin soon and I want to know if anyone has
any suggestion about this. 

My idea, as I told you before, is having all the languages in the same
file. It will be something like this:

cat story.txt
$lang=es
Noticia en español

$lang=us
New in English 

In my point of view this is a good way to do it, because you don't have
to maintain two (or three, four...) files (or even directory trees), one
for each language. 

To access the a page with a certain language, we can use something like
flav option in the url:

http://myexamplehost.com/blog?lang=es

I think this could be easy to do, changing an option in the parser o
changing the news body later in the process of rendering. 

What do you think is the best way of doing this?

Thank you all for your advices. 

Pablo 


-- 
Pablo Barrera González
Grupo de Sistemas y Comunicaciones (Universidad Rey Juan Carlos)
http://gsyc.escet.urjc.es/~barrera



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.