From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 01:50:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A7F21065672 for ; Thu, 3 Jun 2010 01:50:35 +0000 (UTC) (envelope-from eric_delacruz@yahoo.com) Received: from n10.bullet.re3.yahoo.com (n10.bullet.re3.yahoo.com [68.142.237.123]) by mx1.freebsd.org (Postfix) with SMTP id E42878FC20 for ; Thu, 3 Jun 2010 01:50:34 +0000 (UTC) Received: from [68.142.237.87] by n10.bullet.re3.yahoo.com with NNFMP; 03 Jun 2010 01:37:40 -0000 Received: from [66.196.114.72] by t3.bullet.re3.yahoo.com with NNFMP; 03 Jun 2010 01:37:40 -0000 Received: from [127.0.0.1] by omp301.mail.re3.yahoo.com with NNFMP; 03 Jun 2010 01:37:34 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 45906.42201.bm@omp301.mail.re3.yahoo.com Received: (qmail 6741 invoked by uid 60001); 3 Jun 2010 01:37:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275529053; bh=i7as1D9XoxIZWev+o8vBt1cWDkAvn5scjLUPFK617Ks=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=PZZgi4m6E+hD2efXOhrbnowF7F7x1jrZMY9FsSi+1dfUq83HZOVS8od39NC+7VjaluEDRMQfxHZK83AOfSNd7pvc7f4LEJa7btgToPH87mHUV1FryE0d5EIgM1+JDnmlDJJZMUZwWZI4pTqvLzCGaM2U3VWEEI414QDVR1A/DrI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=L9QkDl5e0XQr5IueWHYrQJC3PzNpDIeUqVp14vNaUbizWweuhxwjsa2+4mn3LHMAlT50+o63wLdf9hdooTybpImHz5+1OeiTZqZONDCSqnGpnkRA4vZ+ffPBef5Avdp8dFJ+4WyMIgNvxqEjiZusUTo90LYgOwV2uYPegFi7uow=; Message-ID: <954791.4925.qm@web56305.mail.re3.yahoo.com> X-YMail-OSG: bvdhurMVM1lKDMCPdPy.Q1xwSVw0R9._Oto4YtLiiKt8jlQ cbrcBs6qcn53WyoqZ69yQ.DWItPOsfNOX_hQTpSxMVwFzeQojFZWOB1Ui3cC 3gayCPmoP0TBuc6E42BFnrlAZoWf8vzLRjcqfXyXkpSdfYP_6fR9jzqSuPXk A51DzxK.4RYpnVbZ1TB_AbNBK6hlyb7ox8xJx8cQY2_1iOgZgQf54K5lIHGn AYJc.IOn9eNO7Nvd0dTPt9SB70r.doS9RavAf5sCeTJQxqpiwMyGT1iMVS9z KVpJA76M- Received: from [189.202.50.186] by web56305.mail.re3.yahoo.com via HTTP; Wed, 02 Jun 2010 18:37:33 PDT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 Date: Wed, 2 Jun 2010 18:37:33 -0700 (PDT) From: Eric De La Cruz Lugo To: freebsd-i18n@FreeBSD.org, freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 03 Jun 2010 02:44:40 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Hi es_MX internationalization needed..... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 01:50:35 -0000 Hi to every one. I have been checking the mail lists and haven`t found information about es_MX localization, in Ubuntu, OpenSUSE and other Linux distributions this can be achieved by something like. # locale-gen es_MX.UTF-8 # locale-gen es_MX But on FreeBSD I can`t find any command or tool to perform this. there is a es_ES locale on FreeBSD. I thinked about generating the es_MX locale with a file like es_MX.UTF-8.src or something like that, without success this is beyond my expertise right now. I need the es_MX because there is a postgreSQL database that "MUST" be encoded with the es_MX encoding, for a project am working on. On KDE 4 on FreeBSD 8.0 I can changed the region to Mexico (es_MX), but I can't change my locale variables (LC_) on my command line terminal. they look actually like this: [cursos] ~> locale LANG= LC_CTYPE="es_ES.UTF-8" LC_COLLATE="es_ES.UTF-8" LC_TIME="es_ES.UTF-8" LC_NUMERIC="es_ES.UTF-8" LC_MONETARY="es_ES.UTF-8" LC_MESSAGES="es_ES.UTF-8" LC_ALL= [cursos] ~> On other server i have OpenSUSE 11.2 and have this: (the way a needed it). edelacruz@sgi:~> locale LANG=es_MX.UTF-8 LC_CTYPE="es_MX.UTF-8" LC_NUMERIC="es_MX.UTF-8" LC_TIME="es_MX.UTF-8" LC_COLLATE="es_MX.UTF-8" LC_MONETARY="es_MX.UTF-8" LC_MESSAGES="es_MX.UTF-8" LC_PAPER="es_MX.UTF-8" LC_NAME="es_MX.UTF-8" LC_ADDRESS="es_MX.UTF-8" LC_TELEPHONE="es_MX.UTF-8" LC_MEASUREMENT="es_MX.UTF-8" LC_IDENTIFICATION="es_MX.UTF-8" LC_ALL= edelacruz@sgi:~> How do i do this on FreeBSD 8.0 i386 or amd64? Thanks in advance for your attention and help. LIA Eric De La Cruz Lugo.