Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 4236C9FB897 for ; Mon, 7 May 2007 10:16:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 33061-09 for ; Mon, 7 May 2007 10:16:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sd-2317.dedibox.fr (sd-2317.dedibox.fr [88.191.17.192]) by postgresql.org (Postfix) with ESMTP id DA84A9FB866 for ; Mon, 7 May 2007 10:16:30 -0300 (ADT) Received: from sd-2317.dedibox.fr (localhost.localdomain [127.0.0.1]) by sd-2317.dedibox.fr (Postfix) with ESMTP id 8A5C010171; Mon, 7 May 2007 15:24:01 +0200 (CEST) Received: from [192.168.10.64] (ASte-Genev-Bois-153-1-97-145.w86-218.abo.wanadoo.fr [86.218.123.145]) by sd-2317.dedibox.fr (Postfix) with ESMTP id 58B432293; Mon, 7 May 2007 15:24:01 +0200 (CEST) Message-ID: <463F26A8.1050503@lelarge.info> Date: Mon, 07 May 2007 15:16:24 +0200 From: Guillaume Lelarge User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Adrian Maier CC: PostgreSQL www Subject: Re: How to make the website use a translated po file ? References: <463BB2ED.2030206@lelarge.info> <463F1D9F.4000703@lelarge.info> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.852 tagged_above=0 required=5 tests=AWL=-0.422, BAYES_50=0.001, INFO_TLD=1.273 X-Spam-Level: X-Archive-Number: 200705/43 X-Sequence-Number: 11977 Adrian Maier a écrit : > On 5/7/07, Guillaume Lelarge wrote: >> >> Sorry, I forgot to reply to your previous mail. Did you tweak >> system/global/languages.php ? because I added an alias for fr_FR in the >> $GLOBALS['_LANGUAGE_ALIASES'] array. Here is the new declaration : >> >> $GLOBALS['_LANGUAGE_ALIASES'] = array( >> 'br' => 'pt_BR', >> 'en' => 'en_US', >> 'fr' => 'fr_FR', >> 'ru' => 'ru_RU', >> 'tr' => 'tr_TR' >> ); >> >> With romanian, it will be like this one : >> >> $GLOBALS['_LANGUAGE_ALIASES'] = array( >> 'br' => 'pt_BR', >> 'en' => 'en_US', >> 'fr' => 'fr_FR', >> 'ro' => 'ro_RO', >> 'ru' => 'ru_RU', >> 'tr' => 'tr_TR' >> ); >> >> This way, you'll be able to use the ro_RO directory. > > I hadn't added the aliases for 'fr' and 'ro' . This explains why > it wasn't working for me. > > > Thanks Guillaume ! > You're welcome :) -- Guillaume.