diff options
author | martin f. krafft <github.com@pobox.madduck.net> | 2023-01-26 18:46:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-26 19:46:06 +0200 |
commit | d019ed198d90c5dee2b5dd5f39ffa922263f50e4 (patch) | |
tree | bb999836bd4e83b263dbbe0f1c3b51abbdc0a109 /conftest.py | |
parent | 6bf793ae5b902b3e3f2cb494f2fc230c2641890c (diff) | |
download | babel-d019ed198d90c5dee2b5dd5f39ffa922263f50e4.tar.gz |
Keep @modifiers when parsing locales (#947)
Locale modifiers ("@variants") are described in the GNU gettext
documentation like this:
> The ‘@variant’ can denote any kind of characteristics that is not
> already implied by the language ll and the country CC. […] It can also
> denote a dialect of the language, …
Wherein Babel previously would discard these, this patch stores the
modifier information in the `Locale` objects, handling string
representation accordingly.
Resolves: #946
Signed-off-by: martin f. krafft <madduck@madduck.net>
Co-authored-by: Aarni Koskela <akx@iki.fi>
Diffstat (limited to 'conftest.py')
0 files changed, 0 insertions, 0 deletions