We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30ab07d commit 6dd3704Copy full SHA for 6dd3704
1 file changed
src/edit_python_pe/screens/language.py
@@ -17,7 +17,10 @@ def get_available_languages() -> dict[int, str]:
17
langs = ["en"]
18
if locales_dir.exists():
19
for item in sorted(locales_dir.iterdir()):
20
- if item.is_dir() and (item / "LC_MESSAGES" / "messages.mo").exists():
+ if item.is_dir() and (
21
+ (item / "LC_MESSAGES" / "messages.mo").exists()
22
+ or (item / "LC_MESSAGES" / "messages.po").exists()
23
+ ):
24
langs.append(item.name)
25
26
unique_langs = []
0 commit comments