https://github.com/2xsaiko/libaddict
advanced localization support
https://github.com/2xsaiko/libaddict
fabric i18n library localization minecraft mod
Last synced: about 1 year ago
JSON representation
advanced localization support
- Host: GitHub
- URL: https://github.com/2xsaiko/libaddict
- Owner: 2xsaiko
- License: mit
- Created: 2020-01-29T12:56:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-09T21:51:09.000Z (about 5 years ago)
- Last Synced: 2025-05-10T03:14:34.982Z (about 1 year ago)
- Topics: fabric, i18n, library, localization, minecraft, mod
- Language: Java
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libaddict
_(**ad**vanced **dict**ionary)_
This library provides advanced localization support for Minecraft. The format
is straightforward, more featureful and easier to write than Minecraft's
builtin localization format:
```
// Comments are supported with two slashes
// Include another language file:
// Resolves subdirectories:
include subdir/blah.str
// or absolute paths:
include /lang/something.str
include othermod:lang/something.str
// Defining strings (what you'll be doing for the most part):
block.examplemod.example: Example
// Multiline strings:
gui.examplemod.example:
This is a multiline string,
smallest indent found across all lines will be removed,
and paragraph breaks also work.
```