Re: [gnome-summary] Some tasks



On Fri, 2004-02-20 at 11:52 -0800, Sri Ramkrishna wrote:

> > > * We need a methodology on how to store the translated summaries and be
> > > able to display them based on the LANG variable.  So, someone needs to
> > > propose a sane methodology to do this.  Any volunteers for this?  It
> > > will require that you talk with Danilo Segan and working on how to
> > > arrange everything.
> > 
> > <from the armchair ;-) >
> > 
> > I think there is a feature in Apache which serves pages on the basis of
> > the Accept-language (or something similar - it should be in the HTTP/1.1
> > RFC) sent by the Web browsers. Sane web browsers send this info from the
> > locale in use. For example, if Apache detects that a browser request
> > index.html is in the bn locale, it will serve it index.html.bn
> > I am not sure if I am 100% right - I can look up the Apache manual if
> > you want.
> 
> Yep, I meant exactly this feature.  But I think it uses the LANG 
> environment variable to figure out the accept-language at least from a 
> browser view.  But the infrastructure to facilitate that (eg where does it 
> get the page with the right language) is missing.  Thats what I'm looking 
> for help with.

A quick and dirty guide at http://www.bowiesnyder.com/writings/
nls_apache.htm - it should clear things up.


So basically, the translator (say someone who is doing Bengali(bn))
would have to follow the steps:

1. Translate 2004_February15_Fenruary21.xml

2. Generate a HTML file from that xml file - the HTML file should be
named 2004_February15_Fenruary21.html.bn

3. Send it to the Mailing List/Commit it to CVS him/herself 

We need to make sure that the .htaccess file in the directory concerned
is OK, and maybe modify the stylesheet so that the generated pages have
a list of the languages so that an user may choose the language
manually.

-sdg-





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