----- Original Message ----- 
From: "Miguel" <[EMAIL PROTECTED]>

> > I was testing this because I decided to translate the jmol-web
> > pages into french. Now I am wondering how to do this.
>
> I think that would be great.
>
> My only concern is that many of the existing web pages are already out of
> date. Therefore, I worry about you making French versions that are based
> upon outdated pages.

Maybe you can tell me which pages are (almost) up to date, so I can begin
with them.
If not, I can still translate all the pages. I will update the translation
when the pages are updated.
(More work but I don't mind).

> > My first idea was to create index_fr.xml files in the same folders as
the
> > index.xml files.
> > Then generating index_fr.html files in the same folders as the
index.html
> > files.
> > But for this to work, I would have to add index_fr.html in all the
> > references of the french version.
> > Is this a problem ?
> >
> > Or is there a better solution ?
> > Like generating evereything in fr subfolder ?
> > But then the html files won't be with all the others files
> >
> > Other solution ?
>
> I am still trying to learn how the xml translation process works. The
> structure of the Jmol web site was put in place at least 2 years ago,
> before I became involved.

I think I understand the xml translation process, I already used xslt for
other projects.
I already locally modified the build.xml and style.xsl files so that theyn
can deal with localized versions of the web pages.

> I think that I would like to see different subdirectories on the web
> server for different languages:
>
> www.jmol.org/en
> www.jmol.org/fr
> www.jmol.org/es
> www.jmol.org/de

Ok, but what do we do of all the other files ? (.cml, .mol, .xyz, ....
files).
Do we copy them in each directory ? (space waste)
Do we make a www.jmol.org/common subdirectory to put all those files and
change all the links in the web pages ? (lot of work I guess).

> The xml/xsl translation system probably can help us generate this, but I
> still do not understand how it works.

I think I can modify it to generate the solution, once we found it :), I
have a little background with xml/xsl.
Just have to decide what the solution is ...

I already modified the xml/xsl part to generate the french translation for
the home page with the navigation part translated at the top of the page.




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to