[Phpmyadmin-devel] [phpMyAdmin] Re: Multi-language support

Loïc loic-div at ifrance.com
Sun May 6 23:42:36 CEST 2001

On Sun, 6 May 2001, Robin wrote:

>For the majority of my recent projects I have validating
>against the XHTML 1.0 Transitional DTD, and I find it
>renders nicely in the great majority of browsers out there,
>bar a few really old netscapes and IE's.
>Having a DTD and conforming to it 100% would be a
>majority improvment to our code.

You have my fully agreement on this point :)

>I would suggest:
>Stylesheet.php should include common and the correct
>other stylesheet.
>And it would be called as:
><link rel="STYLESHEET" type="text/css" href="/stylesheet.php?charset=en" />

Well the only things that may differ inside the stylesheet
from one language to another are the font face and the
font size. Then I'm not sure three file are required.
Moreover you know how crappy is NN4 with CSS:
for example a child selector rarely inherit the rules applied
to its parent. In our case it means the font face may have
to be repeated inside each of the selector defnition.
With this is mind, I'm unfortunatly not sure a common css can be used.
Actually we faced the problem with
phpMyChat, that's the reason why I can detail.

My suggestion is only one file (let's say 'stylesheet.php') called this way:
$css_url = urlencode("/stylesheet.php?fontFace=$strFontFace&
<link rel="stylesheet" type="text/css" href="<?php echo $css_url; ?>" />

>Veni, Vidi, Conferotuli
Veni, Vidi, Vinci... quid nomino leo :p
(I came, I saw, I won... because I'm the Lion)

ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...

More information about the Developers mailing list