From owner-freebsd-questions@FreeBSD.ORG Sat Oct 8 19:29:34 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DD9D16A41F for ; Sat, 8 Oct 2005 19:29:34 +0000 (GMT) (envelope-from oandersson@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 107D043D46 for ; Sat, 8 Oct 2005 19:29:33 +0000 (GMT) (envelope-from oandersson@gmail.com) Received: by xproxy.gmail.com with SMTP id s11so60941wxc for ; Sat, 08 Oct 2005 12:29:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Q/A1APJ/Q2VooIFhmI+JbD3rpem4qyL9gaeknI84To62EZQ3fKVPU1cwJTJ1WozQNF0zkoN13KyZ1mNlgwfqfTCbRJzgJgIleWJ4XzpH4cuZpqUbH6YpHCCQVHGS574stPPvo+uAqx2GXGPMnwPupVrbMzfI8pPDuB3S1G4gq4w= Received: by 10.70.126.18 with SMTP id y18mr2670195wxc; Sat, 08 Oct 2005 12:29:33 -0700 (PDT) Received: by 10.70.54.17 with HTTP; Sat, 8 Oct 2005 12:29:33 -0700 (PDT) Message-ID: Date: Sat, 8 Oct 2005 21:29:33 +0200 From: Olof Andersson To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Write locale.alias? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Olof Andersson List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2005 19:29:34 -0000 Hi! I have a problem related to php and locale. I'm a newbie on both php and FreeBSD and need your help. I have installed php and a CMS called php-fusion. I have problem in getting the swedish language to work and after some time I have discovered that php is looking for a file called 'swedish' to get the right language (for date) and on FreeBSD it's called 'sv_SE.ISO8859-1' instead and there is problem. I read somewhere that there is a file called locale.alias where you can in some way link swedish with sv_SE.ISO8859-1. Is it so and then what is the syntax of the locale.alias? I also wonder if I should use sv_SE.ISO8859-1 or sv_SE.UTF-8? Sorry for my bad English but I hope that you can still understand my questi= on. Best regards Olof Andersson Sweden