Localisation
Marius Gedminas
marius at gedmin.as
Mon Apr 28 11:02:44 UTC 2014
On Fri, Apr 25, 2014 at 11:14:21PM +0200, Niels Vermaut wrote:
> Could somebody tell me how to create a locale profile. The current Belgian
> Profile sets my languages all wrong. In Gnome Shell date I get the german
> language, which is completely wrong.
>
> I would create such a profile, so that I could be included into the main
> distro. Also, other localisations for the dutch language (for use in The
> Netherlands and parts of Belgium), I would be happy to create/help with.
Locale definitions are part of the GNU C library. (Ubuntu does some fancy
stuff to strip them out and split them into language packs; I'm not
familiar with the process).
You can find the locale sources in /usr/share/i18n/locales/. The file
names combine language and country codes, e.g. the Dutch language locale
for Belgium is nl_BE.
The format of these files is described (somewhat sparsely) in
http://manpages.ubuntu.com/manpages/trusty/en/man5/locale.5.html
You may also want to study Chapter 7 ("Locale") of Base Definitons
volume of the POSIX standard, freely available at
http://pubs.opengroup.org/onlinepubs/9699919799/
Near the top of that file you'll find an email contact for reporting
bugs: bug-glibc-locales at gnu.org
HTH,
Marius Gedminas
--
The only way to learn a new programming language is by writing programs in it.
-- Brian Kernighan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 173 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-gnome/attachments/20140428/b5260f2c/attachment.pgp>
More information about the Ubuntu-GNOME
mailing list