Re: Status update

Поиск
Список
Период
Сортировка
От Andreas Grabmüller
Тема Re: Status update
Дата
Msg-id 20030830160424.28587.qmail@osiris.gamecrashnet.de
обсуждение исходный текст
Ответ на Re: Status update  (Justin Clift <justin@postgresql.org>)
Список pgsql-www
Hi,

Mozilla allows you to set multiple languages I think... will have to check what headers it sends then...

news and events can be translated in the new admin area (http://wwwdevel2.postgresql.org/admin/ - don't miss the
trailingslash!), you can add yourself to the .htaccess in that directory to have a look at it. It's password protected
asit acts on the live database - please be careful on it ;) I will add the possibility to translate the polls, too -
thisis implemented in the website, but missint in the admin area. 

It's currently implemented in a way that every news and event is added in english and then translated by us in the
adminarea. Those entries not yet translated automatically fall back to the english ones... 

There are some new database tables for it, called events_text, news_text and survey_questions.

Documentation can be translated by simply adding the new entries to the documentation table in the database using the
correctlanguage code. 

----- Original-Nachricht -----
Von: "Justin Clift" <justin@postgresql.org>
An:  webmaster@letzplay.de
CC:  pgsql-www@postgresql.org
Datum: Saturday, August 30, 2003 05:48 PM
Betreff: [pgsql-www] Status update

> Hi Andreas,
>
> This definitely looks like a good start.  Found it difficult to get the
> German version of the site to load automatically (Mozilla probably
> needed a restart after changing the language selection, but I had too
> many other windows open with interesting things in them to want to close
> them...).
>
> Is there a strategy in place for creating news and events in languages
> other than English?
>
> We'd probably want to manage the events and news a bit seperately from
> each other... or at least have a "language" field for each news/event so
> it only displays the relevant ones.
>
> This might or might not have been considered already though, with me
> having missed the conversation...
>
> ;-)
>
> Regards and best wishes,
>
> Justin Clift
>
>
> Andreas GrabmXller wrote:
>
> > Hi,
> >
> > I think the new multilingual website system is working now (well, the technical side works, I have not added all
pagesand files yet). You can find it on http://wwwdevel2.postgresql.org 
> >
> > It would be good to get some comments / suggestions on the code now... you can find it at
/home/www.postgresql.com/andreas/public_htmlor view it on the web at http://svn.gamecrashnet.de/repos/pgsql_org/ 
> >
> > Some comments on how the system works:
> >
> > Every request goes through some RewriteRules in the .htaccess file. If the files exists in the cache directory,
thisone is delivered (for performance reasons). If the is for a file in the /admin, /layout or the /files directory,
nothinghappens. Every other request gets redirected to the script /system/handler.php (or /system/handleform.php which
handlesevery dynamic request) where the pages get built and delivered dynamically. 
> >
> > There is a script in the /tools directory called "rebuildcache" written in PHP, this can rebuild parts or or the
wholecache directory. just call it without arguments to get the help. The cache directory contains all static pages and
elements,so this can be used to mirror the whole website (all dynamic contents get linked to postgresql.org
statically).
> >
> > Is there a problem with this? Or is something missing?
> >
> > Mit freundlichen Grüßen
> > Andreas Grabmüller
> >
> > --
> > LetzPlay.de
> > | Freemail:       http://www.letzplay.de/mail
> > | Forenhosting: http://www.letzplay.de/foren
> > ---------------------------(end of broadcast)---------------------------
> > TIP 8: explain analyze is your friend

--
LetzPlay.de
| Freemail:       http://www.letzplay.de/mail
| Forenhosting: http://www.letzplay.de/foren

В списке pgsql-www по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: New Event
Следующее
От: www@www.postgresql.com (World Wide Web Owner)
Дата:
Сообщение: New News Entry