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

Re: Help different languages configuration



On Wed, Apr 15, 2009 at 11:01:11PM +0200, Andreas Tille wrote:
> this is probably not the proper list for this question - but somehow
> people here must have solved this problem.  I generate multi language
> pages for Debian Blends.  FOr instance you can see the tasks pages
> of Debian Science here:
>
>    http://blends.alioth.debian.org/science/tasks/
>
> The generated files have the language extension in the end of the
> files *after* the .html extension.  The htaccess file looks like this:
>
> Options +MultiViews
> AddLanguage ru .ru
> AddLanguage fr .fr
> AddLanguage en .en
> AddLanguage nl .nl
> AddLanguage pt_BR .pt
> AddLanguage zh_CN .zh
> AddLanguage de .de
> AddLanguage ko .ko
> AddLanguage it .it
> AddLanguage da .da
> AddLanguage pl .pl_PL
> AddLanguage cs .cs
> AddLanguage fi .fi
> AddLanguage ja .ja
> AddLanguage es .es
>
>
> Xou see the trick with .pl_PL for Polish language to make sure the
> client does not asusme the downloaded file is not an active Perl
> file.  I recently learned that also .es extension is regarded as active
> content and the files which are intended to display the Spanish
> translation.  I tried to learn from www.debian.org where the
> language extension is followed by .html which seems to prevent
> this problem.  Is there any chance to have a look onto the
> file system of www.debian.org to steal some ideas how to do things
> the right way (tm)?

You'd need to ask debian-admin for access to the system.  If you have
any specific questions, I can look through the filesystem and try to
answer them.

There are some instructions at http://www.debian.org/mirror/webmirror
for how to configure Apache.

-- 
Matt                                                 http://ftbfs.org/


Reply to: