LangManager
this library allows you to create translations of projects into other languages
install:
installing with pypi
pip install langmanager
installing with git
git clone https://github.com/ASVIEST/LangManager.git
Simple example:
from langmanager import *
language = input('language: ')
lang(language)
trans = translate_get('hello world')
print(lan())
print(trans)
language file(en):
'hello world':'hello world';
And language file(ru):
'hello world':'привет мир';
Language standard file name - lan(ISO 639-1).txt examples: en.txt, ru.txt, zh.txt But file name can change through function filepath_en , filepath_ru and others Language can be changed during working
Improved example:
from langmanager import *
language = input('language: ')
lang(language)
trans = translate_get('hello world')
print(lan())
print(trans)
lang('ru')
filepath_ru('en.txt')
trans = translate_get('hello i')
print(trans)
'hello world':'hello world';
'hello i':'hello i';
And language file(ru):
'hello world':'привет мир';
'hello i':'привет я';
Metadata
Release files for langmanager 1.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langmanager-1.4.2.tar.gz | 15.4 kB | Without provenance | Details for langmanager-1.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langmanager-1.4.2-py3-none-any.whl | Python 3 | none | any | Details for langmanager-1.4.2-py3-none-any.whl |
Total release size: 30.5 kB
Release files / langmanager-1.4.2.tar.gz
| Download URL | langmanager-1.4.2.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d2588200d3360050776e4dd8b197b07e962cdd864e212ef5de91ee232d331ce
|
|
BLAKE2b-256 checksum How to use checksums |
03aa34d966f5cdb1fc94afab36f781b251bbeb4ee3b9ff84b61f443a5dd58637
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.7.4 Windows/10
|
Release files / langmanager-1.4.2-py3-none-any.whl
| Download URL | langmanager-1.4.2-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
870226353cf28d3e9db3d53cc19f2fc6e95d21bbba1413af0737458614caf144
|
|
BLAKE2b-256 checksum How to use checksums |
aea098009bf4abf2f589ae2d062d325df4d22b7e09b5cacb4712aad54d31a170
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.7.4 Windows/10
|
Security for langmanager 1.4.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.