[Zope-CMF] I18n

Gitte Wange gitte@babytux.dk
Fri, 28 Sep 2001 19:43:05 +0200


At 18:23 28-09-2001 +0200, you wrote:
>> But the action box e.g. isn't any hardcoded dtml doc - it's comming from
>> the fs.
>> So how would one translate these `???
>
>Not really. There is a skin file called "actions_box" that you can customize
>without a problem. Just do the usual things (click on the filesystem view of
>the file and choose "customize") and than do the following: Whenever there
>is a <dtml-var name> (or similar variable calls), you replace it by
>
> <dtml-fish dst=da label="name">
>
>or similar. For dst (the "destination language") you can either hard-code
>Danish (dst=da) or use a variable like dst="HTTP_ACCEPT_LANGUAGE".

Thank you Joachim for that little walkthrough ...
I don't really know how I had imaged it would work ... but now I know that
I is no longer a problem to make a multi lingual site ... and the users can
just select the preferred language in there settings ... great !!

Gitte