Skip to content

Commit

Permalink
Add known languages variable for country detection (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierrickLP authored Nov 6, 2024
1 parent 3064b48 commit aab94a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [5.3.1] - 2024-11-06

### Added

- 'KNOWN_LANGUAGES_FOR_COUNTRY' variable containing languages geoconvert can process to find countries.

## [5.3.0] - 2024-11-04

### Changed
Expand Down
2 changes: 1 addition & 1 deletion geoconvert/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__author__ = "Octopusmind <[email protected]>"
__version__ = "5.3.0"
__version__ = "5.3.1"
2 changes: 2 additions & 0 deletions geoconvert/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@
us_state_name_regex,
us_states,
)

KNOWN_LANGUAGES_FOR_COUNTRY = set(language_to_country_names.keys())

0 comments on commit aab94a4

Please sign in to comment.