We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b89e8bd commit 511b795Copy full SHA for 511b795
1 file changed
languages/api.py
@@ -19,9 +19,10 @@ def get_languages():
19
hardware = request.args.get('hw')
20
if hardware:
21
packs = packs.filter_by(hardware=hardware)
22
- locale = request.args.get('isoLocal')
23
- if locale:
24
- packs = packs.filter_by(language_id=locale)
+ # TODO: Don't filter by it, use this value for translating local names
+ #locale = request.args.get('isoLocal')
+ #if locale:
25
+ # packs = packs.filter_by(language_id=locale)
26
firmware = request.args.get('firmware')
27
if firmware:
28
try:
0 commit comments