Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Babel » Request: Allow Commonwealth English locales/ResourceBundles to inherit from en_GB
Request: Allow Commonwealth English locales/ResourceBundles to inherit from en_GB [message #576282] Wed, 10 December 2008 01:42
Sean Flanigan is currently offline Sean FlaniganFriend
Messages: 22
Registered: July 2009
Junior Member
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig77410613744302639B96A4FB
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

At Antoine Toulm=E9's suggestion, I've created https://bugs.eclipse.org/2=
58216
against Equinox which arose from https://bugs.eclipse.org/223378

I think I said everything in the bug, reproduced below. Any comments or
suggestions? (Probably best to keep all comments on Bugzilla.)

----------------------------------------
https://bugs.eclipse.org/258216

Allow Commonwealth English locales/ResourceBundles to inherit from en_GB

(Or more generally, arbitrary inheritance between locales in
ResourceBundle/NLS lookups.)

With bug 223378 resolved, Babel has support for en_CA and en_AU
translations, and we'll probably have en_GB soon. The Commonwealth
dialects of English are not identical, but often very similar, eg for
the spelling of "colour" and "favourite".

Obviously, every locale inherits from the default locale, so text which
is identical in US English and Commonwealth English needn't be
translated, but for phrases like "Display in favorites menu", it would
be great if it could be translated just once in en_GB (for instance),
and then picked up by the other Commonwealth locales.

(Alternatively, perhaps it would make sense to define an artificial
locale en_CWTH, from which en_GB, en_AU and en_CA could inherit. But I
don't think so!)

More information:

org.eclipse.osgi.util.NLS.buildVariants()
< http://kickjava.com/src/org/eclipse/osgi/util/NLS.java.htm#2 22>
implements the current logic for some cases, but may not apply to, eg,
plugin.properties

--=20
Sean Flanigan

Senior Software Engineer
Engineering - Internationalisation
Red Hat


--------------enig77410613744302639B96A4FB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJPx6SAAoJEANMP0IIh1rvJzwIAL3xBorwyn46Z8XSAxPE RaTK
bYOc+JJx2n8yt2QZyq03pDefPSb+oFwi1Qy7xM0pQGQIIvh8vSGKZ8iCpIue JHr8
i+Eek3fpgod4UaL0AeLmRNsK4Vb1gVlKfV/hP4SDJQYEHwuW9MlUdi1eGQVz 0e8k
pibZQ0evYiOeQmlGfUWCSLugXYkD4BV0oQ98pZM5r2tufr5YlE8h2b2sVO9M JiqX
fkj4hEJdV/exo2392U9awV3Tx9AorsWeaLBTds6UQ+6gFdgBwlBGC6tNBXJR 0wrC
IiKYuc4mhB7o+8voeIlVYi4dh4wOP9hyxxRiLKFwqqDnxGEY9a3Xzif8KhFk 5/E=
=QAPH
-----END PGP SIGNATURE-----

--------------enig77410613744302639B96A4FB--
Previous Topic:How to contribute nls fragments?
Next Topic:Request: Allow Commonwealth English locales/ResourceBundles to inherit from en_GB
Goto Forum:
  


Current Time: Fri Apr 26 09:33:05 GMT 2024

Powered by FUDForum. Page generated in 0.04179 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top