🗺️localization
🌍 Localization
Overview
Available Languages
Language
File
Configuration
Translate.DefaultLanguage = 'pl' -- or 'en'Translation File Structure
English (en.json)
{
"chat": {
"cooldown": "You must wait {remaining} seconds before using this command.",
"messageTooShort": "Message is too short.",
"messageTooLong": "Message is too long.",
"noPermission": "You don't have permission to use this command.",
"playerNotFound": "Player not found.",
"reportSent": "Report sent to staff.",
"streamerModeEnabled": "Streamer mode enabled.",
"streamerModeDisabled": "Streamer mode disabled."
},
"commands": {
"me": {
"description": "Describe your action"
},
"do": {
"description": "Describe the environment"
},
"try": {
"description": "Attempt an action",
"success": "succeeded",
"failure": "failed"
}
}
}Polish (pl.json)
Adding New Language
Using Translations
In Server Scripts
With Placeholders
Placeholder Format
Template Translations
Next Steps
Last updated