Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id DD8569FB395 for ; Sat, 5 May 2007 02:40:32 -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 60065-08 for ; Sat, 5 May 2007 02:40:25 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by postgresql.org (Postfix) with ESMTP id F3F9A9FB385 for ; Sat, 5 May 2007 02:40:26 -0300 (ADT) Received: by py-out-1112.google.com with SMTP id a73so887981pye for ; Fri, 04 May 2007 22:40:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hhNKLJ8KL8QmdrXPkh8uFZEKNyf/09K8VSiDF5Q0kmxVw89+HyL31d10hyN8YkjwNZQfZQE3mjCE4mpUcEs3ezhvrIszqRZaMjdCkLo4Jkn11xzjIU5QmPti5WhFJY1Z4tc8XCtTgImUiZ0efOgyNtxXEc2OFKKQZnO9WI2N/xY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=H50eAeZmdESNiXCFCAc5spM//hT3CQnuwXlkSq4Tm69wPOLczMuXixTEUtcK7Skp9qEYL5t3VYSZpiDhdnixuIsbA6qhBYx62MiPdsfSnQOlJC4GJZUFOcF3hR85GoBGp5rL4blgao+LXz5b6ka6C1Tn7NIbCxFYUExQB0YWS74= Received: by 10.35.96.11 with SMTP id y11mr6615792pyl.1178343625206; Fri, 04 May 2007 22:40:25 -0700 (PDT) Received: by 10.35.85.17 with HTTP; Fri, 4 May 2007 22:40:25 -0700 (PDT) Message-ID: Date: Sat, 5 May 2007 08:40:25 +0300 From: "Adrian Maier" To: "PostgreSQL www" Subject: Re: How to make the website use a translated po file ? In-Reply-To: <463BB2ED.2030206@lelarge.info> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <463BB2ED.2030206@lelarge.info> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/40 X-Sequence-Number: 11974 On 5/5/07, Guillaume Lelarge wrote: > Hi Adrian, > > Adrian Maier a =E9crit : > > I have copied the translated portal.mo to the portal/intl/ro_RO/LC_MESS= AGES > > directory. And I have set the preferred language to "Romanian" in the w= eb > > browser. > > What else needs to be done so that the menus get displayed using the > > translated texts ? > > > > You need to make sure that Romanian is the language required by your > browser. If you use Firefox, here is what I did. On the location bar, > type "about:config". In the filter, type "accept_lang". Double click on > the value of "intl.accept_languages" and add at the beginning "ro,". > Click OK. Reload your local page. I have done that, except that i've changed the languages from Tools->Options->Advanced->Languages . The page contents is displayed according to the first language that appears in browser's list , but the navigation menus are still displayed in English. The same problem happens when setting the language to French ( i've unpacked Guillaume's frenchwebsite2.tar.bz2 on my copy of the pgsql site ). Guillaume, do you happen have a minute to see with your browser settings whether the menus are displayed corectly in French on my server http://pgsql.newsoftcontrol.ro ? This would help with finding out where is the problem : on the server or in= my browser . Also, are you using Firefox translated in French , or do you have the loca= le set to French? On my client machine everything is in English , but this shouldn't matter ... Cheers, Adrian Maier