Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 69EBE200D36 for ; Mon, 6 Nov 2017 23:03:29 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 688CC160BEC; Mon, 6 Nov 2017 22:03:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ADE1B160BD5 for ; Mon, 6 Nov 2017 23:03:28 +0100 (CET) Received: (qmail 12026 invoked by uid 500); 6 Nov 2017 22:03:27 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 12013 invoked by uid 99); 6 Nov 2017 22:03:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2017 22:03:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 96C051A2152 for ; Mon, 6 Nov 2017 22:03:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.3 X-Spam-Level: X-Spam-Status: No, score=0.3 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id yhvSIXMmPZGk for ; Mon, 6 Nov 2017 22:03:23 +0000 (UTC) Received: from atl4mhob09.registeredsite.com (atl4mhob09.registeredsite.com [209.17.115.47]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 8D3E06236E for ; Mon, 6 Nov 2017 22:02:51 +0000 (UTC) Received: from mailpod.hostingplatform.com ([10.30.77.67]) by atl4mhob09.registeredsite.com (8.14.4/8.14.4) with ESMTP id vA6M2mOQ014101 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 6 Nov 2017 17:02:48 -0500 Received: (qmail 29771 invoked by uid 0); 6 Nov 2017 22:02:48 -0000 X-TCPREMOTEIP: 82.228.235.79 X-Authenticated-UID: ngranon@idylog.com Received: from unknown (HELO macbookairng) (ngranon@idylog.com@82.228.235.79) by 0 with ESMTPA; 6 Nov 2017 22:02:48 -0000 Reply-To: From: "Idylog - Nicolas Granon" To: , References: <009701d3572b$6d010530$47030f90$@com> In-Reply-To: Subject: RE: Problem with creating new Locale Date: Mon, 6 Nov 2017 23:02:48 +0100 Organization: IDYLOG Message-ID: <00e501d3574a$fcbc1f60$f6345e20$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdNXShhBSapE/iK5QJyqrnTizPY0HQAANPTQ Content-Language: fr archived-at: Mon, 06 Nov 2017 22:03:29 -0000 How do you format your dates ? (mx formatter ? spark formatter ?) Nicolas Granon > -----Message d'origine----- > De : mark goldin [mailto:markzolotoy@gmail.com] > Envoy=C3=A9 : lundi 6 novembre 2017 22:56 > =C3=80 : users@flex.apache.org; ngranon@idylog.com > Objet : Re: Problem with creating new Locale >=20 > When I use French the dates are shown correctly. But for GB it is = still > the US. >=20 > On Mon, Nov 6, 2017 at 3:53 PM Idylog - Nicolas Granon > > wrote: >=20 > > Rethinking about it, I'm not sure that date formats are specified in > > resource files. > > > > Rather, they come from the formatters classes. > > > > Could do describe : > > How are date displayed by now ? > > How would you like the dates displayed ? > > > > Do you use a formatter for displaying dates ? > > (if yes) Is it a mx formatter, a spark formatter or any other custom > > formatter ? > > > > Nicolas Granon > > > > > > > > > > > -----Message d'origine----- > > > De : mark goldin [mailto:markzolotoy@gmail.com] Envoy=C3=A9 : = lundi 6 > > > novembre 2017 19:18 =C3=80 : users@flex.apache.org; = ngranon@idylog.com > > > Objet : Re: Problem with creating new Locale > > > > > > Can you please elaborate on that? > > > > > > On Mon, Nov 6, 2017 at 12:17 PM Idylog - Nicolas Granon > > > > > > wrote: > > > > > > > I remind that creating a new locale implies using the > "copylocale" > > > utility. > > > > The date formats must reside inside "formatters.properties" > (maybe > > > you > > > > should also check validators.propertie for date validation). > > > > I believe that you first copy the "source" locale to some > > > intermediate > > > > pseudo-locale. > > > > There you update the properties files. > > > > Then you use copylocale again from the intermediate to the real > > > target > > > > locale. > > > > > > > > Hope this helps > > > > > > > > Nicolas Granon > > > > > > > > > > > > > > > > > > > > > -----Message d'origine----- > > > > > De : mark goldin [mailto:markzolotoy@gmail.com] Envoy=C3=A9 : = lundi > 6 > > > > > novembre 2017 18:58 =C3=80 : users@flex.apache.org Objet : = Problem > > > > > with creating new Locale > > > > > > > > > > I am creating a new locale "en_GB". For that I created a new > > > > > folder "en_GB" > > > > > under locale and copy into it all my en_US bundles. I also > > > > > modified flex.proj file by adding a new locale there. The = build > > > > > builds new locale without a problem, but when I run the app. > all > > > > > date are > > > shown > > > > > in an us format. What am I missing? > > > > > > > > > > Thanks > > > > > > > > > > > >