[+] encoding
This commit is contained in:
@@ -7,7 +7,7 @@ i18n инжектися в builtins:
|
|||||||
```python
|
```python
|
||||||
from internationalization import I18N
|
from internationalization import I18N
|
||||||
|
|
||||||
I18N("localization_dir", "en")
|
I18N("localization_dir", "en", "utf-8")
|
||||||
|
|
||||||
print(i18n['key'])
|
print(i18n['key'])
|
||||||
print(i18n('key', some=123))
|
print(i18n('key', some=123))
|
||||||
|
|||||||
Reference in New Issue
Block a user