Languages¶
Vocard provides support for multiple languages, including both Localization slash command languages and standard language packs. Additionally, Vocard allows you to easily customize your own language. Simply follow the steps below.
Creating a Standard Language Pack¶
To create a new language pack, follow these steps:
Note
Do not alter or remove variables like {0} {1} ...
as they are essential for the bot's functionality.
- Go to the
langs
directory and duplicate theEN.json
file. - Rename the copied file with the desired language code (e.g., for Korean, use
KO.json
). - Open the copied file and replace the existing text with your translations.
- Once you've made your changes, restart the bot to apply them.
Creating a Localization Slash Command Language Pack¶
To create a new localization slash command language pack, follow these steps:
- Navigate to the
local_langs
directory and duplicate thezh-TW.json
file. - Rename the copied file with the appropriate language code provided by Discord (e.g., for Korean, use
ko.json
). - Open the copied file and replace the existing text with your translations.
- Once you've made your changes, re-sync the bot.
How to re-sync the bot¶
- Stop your bot and open your
settings.json
file. - Remove the
version
key inside the settings file.