On 14 Aug 2007, at 17:16, Yen-Ju Chen wrote:
> I just want to mention that we need to keep internationalization
> in mind
> when design the directory structure of the web site.
I don't think we need to do anything with the directory structure.
Apache, as installed on GNA, supports localisation. For this to
work, we need to omit the .html (or whatever) from the end of links.
You would do something like this:
<a href="/news/latest">latest news</a>
Apache would then turn this into /news/latest.en.html (or /news/
latest.html if that didn't exist) if you had English set as your
browser's locale. Making the file latest.html.en should work
according to the Apache docs, but GNA doesn't mention it.
I haven't checked if this same thing works for images. Perhaps
someone could try with a test.png.en and test.png.{some other
language code} and see if they are correctly retrieved.
David
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev