langcodes icon indicating copy to clipboard operation
langcodes copied to clipboard

A Python library for working with and comparing language codes.

Results 16 langcodes issues
Sort by recently updated
recently updated
newest added

It's not working for language codes like "az_AZ_#Latn" but its valid.

I ran into the problem that ``` >>> Language("da") == Language.get("da") True >>> Language("da") in {Language.get("da")} False ``` I know that the `Language` constructor specifies that `It's inefficient to call...

`Language.get` normalizes case and enforces syntactic validity whereas `Language.make` doesn’t. This causes some discrepancies. I presume that a user is not supposed to have to worry about case or syntactic...

Given a language code of `en-ca`, the following currently happens: ```python code = "en-ca" tag = langcodes.get(code) # Language.make(language='en', territory='CA') display_name = tag.display_name() # 'English (Canada)' tag = langcodes.find(display_name) #

Another step for #41 Example output: https://langcodes-hickford.readthedocs.io/en/sphinx/ including API docs https://langcodes-hickford.readthedocs.io/en/sphinx/source/langcodes.html.

Hi, since you are using the Unicode [Territory-Language Information](https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_language_information.html) table I'd like to know if you plan to make info accessible about the languages spoken in a given territory, e.g....

Great library! It was comprehensive docstrings, so it would be helpful to generate API documentation with Sphinx and publish on the Read the Docs. Published documentation is easier to browse,...

``` Package operations: 1 install, 1 update, 0 removals • Downgrading marisa-trie (1.1.0 -> 0.7.8): Failed ChefBuildError Backend subprocess exited when trying to invoke build_wheel running bdist_wheel running build running...