testing testing

This commit is contained in:
2025-10-03 00:11:57 +03:00
parent a43b610922
commit 7053da89a8
3 changed files with 13 additions and 0 deletions

Binary file not shown.

9
localization.py Normal file
View File

@@ -0,0 +1,9 @@
def getlstr(lang, strname):
# ======== RUSSIAN ========
if lang == "ru" and strname == "test":
return "Привет, мир!"
# ======== ENGLISH ========
if lang == "en" and strname == "test":
return "Hello, world!"

4
main.py Normal file
View File

@@ -0,0 +1,4 @@
import localization as lang
print(lang.getlstr("ru", "test"))
print(lang.getlstr("en", "test"))