Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-lang-selecta",
"version": "1.4.0",
"version": "1.5.0",
"description": "Language selector component with flag emojies",
"author": "Marc Abonce Seguin",
"license": "LiLiQ-R-1.1",
Expand Down
2 changes: 1 addition & 1 deletion py-src/build_locale_regions_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def add_locale_to_dict(lang, region, locale_dict, fallback_name=None):
or locale.get('names', [None])[0] \
or locale.get('name')

if not country_id or country_id.isdigit():
if not country_id or country_id.isdigit() or country_id == 'XX':
# locales with "international" regions like 001 or 419
add_locale_to_dict(
lang, 'UN', international_locales, fallback_name=name
Expand Down
Loading