Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD0689C62 for ; Tue, 14 Feb 2012 16:46:41 +0000 (UTC) Received: (qmail 90087 invoked by uid 500); 14 Feb 2012 16:46:41 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 90028 invoked by uid 500); 14 Feb 2012 16:46:41 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 90020 invoked by uid 99); 14 Feb 2012 16:46:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 16:46:41 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of david@davidarno.org does not designate 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bk0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 16:46:32 +0000 Received: by bkwq11 with SMTP id q11so166794bkw.6 for ; Tue, 14 Feb 2012 08:46:11 -0800 (PST) Received: by 10.204.157.148 with SMTP id b20mr9689861bkx.89.1329237971060; Tue, 14 Feb 2012 08:46:11 -0800 (PST) Received: from wraith64 (188-220-92-24.zone11.bethere.co.uk. [188.220.92.24]) by mx.google.com with ESMTPS id x11sm55536945bkd.2.2012.02.14.08.46.09 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Feb 2012 08:46:10 -0800 (PST) From: "David Arno" To: References: <6BFEC381-C1C3-4F7A-92A0-2A4BF1BDBA98@classsoftware.com> In-Reply-To: <6BFEC381-C1C3-4F7A-92A0-2A4BF1BDBA98@classsoftware.com> Subject: RE: Other locales for Flex SDK Date: Tue, 14 Feb 2012 16:47:47 -0000 Message-ID: <00ce01cceb38$6294b2f0$27be18d0$@davidarno.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQFhp6VFld21liOtBWevAUo2U8oYkJcTHb9g Content-Language: en-gb X-Gm-Message-State: ALoCoQkKZSZ9NCBRjZ3HH4TncXxpCDsIyHK63yn7UtupZUT3kabWlXlR1adhXCPbCEKgjEJBm2Nj X-Virus-Checked: Checked by ClamAV on apache.org > From: Justin Mclean [mailto:justin@classsoftware.com] > Sent: 14 February 2012 13:25 > > With minimal changes (phone format and currency symbol > would be all I think) it could be converted to an en_GB locale. I have started working my way through Justin's patch to convert it to an en_GB version, but I'm stuck on phone numbers. The rules for phone number formats are complex in the UK and I don't know the best way of expressing the formatter. For example, these are all valid, properly formatted, UK numbers: +44 20 xxxx xxxx (020) xxxx xxxx (016977) xxxx 0800 xxxxxx 0800 xxx xxxx 01332 050xxx 074xx xxxxxx When the number starts with the international dialling code details - +44, - then the 0 at the beginning of the number is dropped, the area code (if the number has one) is mandatory and is shown separated by spaces. Finally, the rest of the number is shown, formatted depending on length. If the number has an optional area code (which varies in length from 3 to 6 digits), then that area code is shown inside () brackets. If the 0xx... part is mandatory (such as with 07... mobile numbers) then no ()'s are used. Can anyone give me a clue how to tackle this? David.