close
Skip to content

"unknown locale 'ie'" (Occidental/Interlingue) #1114

@buhtz

Description

@buhtz

It seems that babel do not support Occidental/Interlingue.

>>> import babel
>>> babel.Locale.parse('ie')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/babel/core.py", line 330, in parse
    raise UnknownLocaleError(input_id)
babel.core.UnknownLocaleError: unknown locale 'ie'

I am just an upstream maintainer need to deal with over 40 languages and having some helper scripts. One of that scripts now fails because of that new added language. Currently I can add some exceptional handling for that. But I would prefer to have it supported by babel.

Just for fun I also tried "tlh" language code for Klingon. It is also not supported.

Both of them are "official" standardized languages, with scientific interest and rare use in real live. I don't want to argue about the relevance of such languages. I don't care. But my users are. IMHO if there is an ISO language code I would say babel and similar packages should support it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions