Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2016 19:19:34 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Andrey Chernov <ache@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Hajimu UMEMOTO <ume@FreeBSD.org>
Subject:   Re: svn commit: r302016 - in head: share/timedef tools/tools/locale/tools
Message-ID:  <20160619171934.5hxchhcvrbhhxvti@ivaldir.etoilebsd.net>
In-Reply-To: <73ce250f-71f6-7bde-9340-e6b6bf7ce749@freebsd.org>
References:  <201606190344.u5J3iWO6079652@repo.freebsd.org> <3387744f-7abd-417c-599f-163e78b4170e@freebsd.org> <20160619145233.kjnfyxjb75fdcucz@ivaldir.etoilebsd.net> <20160619154918.etycha7kvj4v7nrp@ivaldir.etoilebsd.net> <e1c4e728-5abd-3618-1cc1-a63ac64cf63a@freebsd.org> <20160619170538.qt2kmzr5fo34ekvj@ivaldir.etoilebsd.net> <73ce250f-71f6-7bde-9340-e6b6bf7ce749@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--fkepdmjy6vfsgsuy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 19, 2016 at 08:16:54PM +0300, Andrey Chernov wrote:
> On 19.06.2016 20:05, Baptiste Daroussin wrote:
> > On Sun, Jun 19, 2016 at 07:47:27PM +0300, Andrey Chernov wrote:
> >> On 19.06.2016 18:49, Baptiste Daroussin wrote:
> >>> On Sun, Jun 19, 2016 at 04:52:34PM +0200, Baptiste Daroussin wrote:
> >>>> On Sun, Jun 19, 2016 at 07:57:49AM +0300, Andrey Chernov wrote:
> >>>>> On 19.06.2016 6:44, Hajimu UMEMOTO wrote:
> >>>>>> Log:
> >>>>>>   - Prefer to use %d over %e where the day of the month should be =
zero
> >>>>>>     filled.
> >>>>>>   - Since %e means the day of the month as well, regard %e as same=
 as %d
> >>>>>>     in md_order.
> >>>>>
> >>>>> Nonsense doubled formats in sr_*_RS locales and nonsense md_order t=
here too.
> >>>>
> >>>> Crap I'll dig into it, thanks for spotting it.
> >>>>
> >>>> Best regards,
> >>>> Bapt
> >>>
> >>> Should be fixed by:
> >>> https://people.freebsd.org/~bapt/locale-triple-components.diff
> >>>
> >>> The perl script generating the locales was badly handling locales wit=
h 3
> >>> components, fixed now.
> >>>
> >>> Sorry about that
> >>>
> >>> Best regards,
> >>> Bapt
> >>>
> >>
> >> sr locales are badly named before anything else, proper format is
> >> language[_COUNTRY][.encoding][@variant]
> >> I.e.
> >> sr_RS.UTF-8@Latn
> >> sr_RS.ISO8859-2@Latn
> >> sr_RS.ISO8859-t@Cyrl
> >=20
> > According to what?
> >>
> >> I don't know, if out utilities (f.e. locale(1)) can handle @variant su=
ffix.
> >>
> > Our syntax is the syntax for the variants that has been the widly adopt=
ed:
> > Microsoft, ICU, java, python's babel internationalisation thing,
> > cldr (of course), CPAN components (Datime::Locales for example)
> >=20
> > This is respecting RFC 3066 with the little difference that we use '_' =
instead
> > of '-'
> >=20
> > Best regards,
> > Bapt
> >=20
>=20
> According to POSIX, but I can't find the reference right now, it is
> related to XPG3 or XPG4. It was already many years.
> First reference from Google
> http://www.boost.org/doc/libs/1_60_0/libs/locale/doc/html/locale_gen.html
> Next from Gentoo:
> https://wiki.gentoo.org/wiki/Localization/Guide
> Microsoft, Linux and GNU iconv understand @-syntax
>=20
>=20
As soon as our libc and locale tool support it we can make aliases to suppo=
rt
both syntax

Best regards,
Bapt

--fkepdmjy6vfsgsuy
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXZtQlAAoJEGOJi9zxtz5axGwQAM6N/UorjrdVO1iPAAsvNiNR
RsCxmMGj+38WO7m4THozi0ryUaF4bDbS4yDNo5kkwuir8YMsPxjjrFg8M0fA5WZF
0JN4ljLDlh59ZOZuEvOssBB1gNVxoG5ElW+YArxv7M9BoKck0Omdx1liRjCbc2B6
1Y2qmh6T0IMOl5TOtpezpT6hIs9uCn2GzS66XpnQ0yXSsvnqtd+xb3QzAbM0f+aY
491dxmcczdy3vqicJmfVFH2P27UmyD67DWw6KyIfgwKCKMGrm2PtsRIiMJ/XdpVD
pZ689njw5jLwCwFz71OOBfceLUHyT+e4nURLKZ/0zTlS5wjK3jrb/gcm9Hm/8rJd
AAaveN9VY3SXvn7hkEicpb5QefRd/MfcoWS7Qw1gs7QuL0AFcrKHjiWisqV3R973
3DoCpCvse1qPCouH5ISq0ONRITTC6SDBhb7lvBt9ZiwaVTzDPkrrRIje3hxM45/7
2dz0L6rgw4SoQ2DQaA79FEAT5g6j+/CjM8NzAfrjcfoLsSO6PiMOoLOvajpSAvG7
xzredNs4Lua3KpsTyFDz0YCXNNgT+yO7xTSbJby5dauZWDOx8UB3O97fTiNRSRGV
uR/98rodkiN8ObLKg+IxG/gG7lK2VGhKg2X6zvwY0bsPiw2He6Ma+hXj6rGNb6dI
c1FrKgpMbGKYPehiJYoC
=VA8Q
-----END PGP SIGNATURE-----

--fkepdmjy6vfsgsuy--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160619171934.5hxchhcvrbhhxvti>