https://github.com/legopitstop/mclang-py
Read and write to .lang files.
https://github.com/legopitstop/mclang-py
bedrock-edition hacktoberfest lang language minecraft modtoberfest pypi python pythonpackage translate
Last synced: about 1 month ago
JSON representation
Read and write to .lang files.
- Host: GitHub
- URL: https://github.com/legopitstop/mclang-py
- Owner: legopitstop
- License: mit
- Created: 2023-07-03T23:53:35.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-05-19T20:11:25.000Z (about 2 months ago)
- Last Synced: 2026-05-19T23:50:00.405Z (about 2 months ago)
- Topics: bedrock-edition, hacktoberfest, lang, language, minecraft, modtoberfest, pypi, python, pythonpackage, translate
- Language: Python
- Homepage: https://pypi.org/project/mclang/
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# mclang

[](https://pypi.org/project/mclang/)
[](https://www.python.org/downloads//)


[](https://github.com/legopitstop/mclang-py/issues)
[](https://github.com/ambv/black)
Create or open Minecraft: Bedrock Edition `.lang` files.
## Installation
Install the module with pip:
```bat
pip3 install mclang
```
Update existing installation: `pip3 install mclang --upgrade`
## Links
- [Documentation](https://docs.lpsmods.dev/mclang)
- [Source Code](https://github.com/legopitstop/mclang)
## Features
- Read and write to `.lang` files.
- Supports comments
- Add translation support to your Python application.
- Translate your .lang file between different languages.
## Example
```Python
lang = """
test=This is cool!
test2=It worked!
"""
doc = mclang.loads(lang)
print(doc.tl("test"))
# This is cool!
```
## Road map
- [ ] Add inline comment support.