On 4/30/01 2:49 PM, "Autrijus Tang" <[EMAIL PROTECTED]> wrote:

> On Mon, Apr 30, 2001 at 10:19:10AM -0700, Ian Clarke wrote:
>> This sounds great, I have added you as a web designer.  You should
>> checkout the "www" package from sourceforge, see the "www/lang/fr"
> 
> Ok, thanks a lot. I'm starting to work right now.
> 
> BTW: From what I understand from the PHP code, it detects languages
> through HTTP_ACCEPT_LANGUAGE, which means my directories have to look
> like lang/zh-tw and lang/zh-cn, and the main index.php should detect
> the dash:
> 
> --- www/index.php       2001/04/25 19:33:20     1.1.1.1
> +++ www/index.php       2001/04/30 19:44:15
> @@ -6,7 +6,7 @@
> --------------------------------------------------------------------*/
> -       if (ereg("/lang/([a-z]+)/", $PHP_SELF, $lang_array))
> +       if (ereg("/lang/([\-a-z]+)/", $PHP_SELF, $lang_array))

this change actually causes a php regular expression error.

please be cautious about changing the code in CVS.  It automatically goes
online every hour or so.  You shouldn't need to change any of the main
components, just the langs of your choice.

all the best with your translations,
rick

> I shall just go ahead and fix them along the way.
> 
> Viva la Informationale!
> 
> /Autrijus/
> 


_______________________________________________
Web mailing list
[EMAIL PROTECTED]
http://www.uprizer.com/mailman/listinfo/web

Reply via email to