Skip to content

Commit 511b795

Browse files
authored
Don't filter by locale
1 parent b89e8bd commit 511b795

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

languages/api.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ def get_languages():
1919
hardware = request.args.get('hw')
2020
if hardware:
2121
packs = packs.filter_by(hardware=hardware)
22-
locale = request.args.get('isoLocal')
23-
if locale:
24-
packs = packs.filter_by(language_id=locale)
22+
# TODO: Don't filter by it, use this value for translating local names
23+
#locale = request.args.get('isoLocal')
24+
#if locale:
25+
# packs = packs.filter_by(language_id=locale)
2526
firmware = request.args.get('firmware')
2627
if firmware:
2728
try:

0 commit comments

Comments
 (0)