10 - Languages file
Introduction of languages file
Introduction
I have make some preset languages files in the jar.To be sure,you can make a new one.
Language file name
Language
en
English
zh_CN
Simplified Chinese
zh_TW
Traditional Chinese
Change my language environment
Type /dt changelang <Languge file name> to change my environment,such as /dt changelang zh_CN
Type /dt changelang to view all the language files reloaded in the server
Change the default language environment for your server
In the config.yml:
Custom a language file
You can also custom a new language file
Create a new txt in plugins/Dantiao/Languages and name it xxx.txt.Then enter the message in it.What you should pay attention to is that the mssages' order should be the same as the DefaultLanguages.txt's
Add custom symbols
In the symbols.yml you can add a mark to replace a symbol to make your editing language file convinent
For example,I want to replace "✔" with "[v]"
Last updated
Was this helpful?