no rejections.

"Nuno Lopes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > more feedbacks?
> > goba, adding new i18n.php file that will hold the languages data is
> agreed?
> >
> > > --/moshe.
>
> My proposal:
> in common.php have something like this:
>
> $rtl_langs = array('he',....);
>
> if (isset($rtl_langs[$lang]) {
>     define('RTL', 1);
> }
>
> $chars = array('he' => 'ISO-xpto'; 'ja'=>'BIG-5' ,......);
>
> define('CHARSET', isset($chars[$lang]) ? $chars[$lang]  : 'default
> charset');
>
>
> /***************************************/
>
> in style_mapping:
>
> $map = array (......);
>
> if(RTL) {
> // differences to normal $map array
>     $map['emphasis'] = 'format_emphasis';
>     .............
>
> // declaration of special functions for RTL
>     format_emphasis () {
>         ......
>     }
>
> }
>
> /*************/
> Also change the templates to use RTL and CHARSET.
>
>
> Nuno

Reply via email to