Languages
Supported Languages
English
en
lang/en.yml
German
de
lang/de.yml
Spanish
es
lang/es.yml
French
fr
lang/fr.yml
Hindi
hi
lang/hi.yml
Chinese
zh
lang/zh.yml
Arabic
ar
lang/ar.yml
Setting the Language
In your config.yml:
# Available languages: en, de, es, fr, hi, zh, ar
language: enLanguage Files (For custom configuration)
Language files are automatically created in:
plugins/CraftAttackSpawnElytra/lang/File Structure
Each language file contains these messages:
Customizing Messages
Using Language Files
Navigate to
plugins/CraftAttackSpawnElytra/lang/Open the language file you want to modify
Edit the messages
Save the file
Use
/spawnelytra reloadto apply changes
Using Custom Messages
Override language files with custom messages in config.yml:
Message Placeholders
Messages support these placeholders:
{key}
Offhand key binding
F
Color Formatting
Legacy Color Codes
Supported codes:
&0-9- Colors&a-f- Colors&l- Bold&n- Underline&o- Italic&k- Magic&r- Reset
Hex Colors are coming soon with Minimessage integration
Message Configuration
Show/Hide Messages
Control which messages appear:
Message Priority
Custom messages (if enabled)
Language file messages
Hardcoded defaults
Creating Custom Translations
Adding a New Language
Create a new file in
lang/directory (e.g.,lang/it.ymlfor Italian)Copy structure from
en.ymlTranslate all messages
Update
config.ymlto use new language codeIf you want you can give me your custom language via a github choose the label "enhancement" there
Troubleshooting
Messages Not Changing
Check
use_custom_messagessettingVerify language code in config
Ensure file exists in
lang/directoryUse
/spawnelytra reloadafter changes
Encoding Issues
Save files as UTF-8
Don't use text editors that change encoding
Test special characters in-game
Missing Translations
If a message is missing from a language file:
The plugin falls back to English
Check console for warnings
Add missing keys to language file
Contributing Translations
Easy Way
go to my github, create an issue, paste in the language file and choose the label "enhancement" there
Hard Way
Fork the project on GitHub
Create language file in
lang/directoryTranslate all messages
Test in-game
Submit pull request
See Also
Configuration - Message configuration options
Commands - Reload command usage
Last updated