Помогите Не получается перевести плагин paintaball

  • Автор темы Автор темы morfik
  • Дата начала Дата начала

morfik

Старожил
Пользователь
Баллы
103
Здравствуйте, скачал плагин paintball, всё работает норм, там же можно экспортировать русификатор, ну я скопировал весь русский текст, создал текстовый документ туда скопировал, и прописал в конфиге, но русского текста всё равно нету, сохранял в ютф-8
 
Do NOT modify the default enUS.txt file. This file is not actually used by the plugin and gets overwritten on each plugin start! If you change anything in it, these changes will simple be gone after the next plugin start!
Create a COPY of the default enUS.txt file and give it a new name, for example: "deDE.txt"
Now you can start modifying the messages in THIS file! Simple change the text between the quotation marks. Do not change the keys (usually written in uppercase letters) or otherwise change the format! Also try avoiding special characters like öäüÖÄÜß etc., otherwise Paintball might not be able to later load your file..
When you are done you have to tell the plugin that you want to use this new file as source of all messages instead of the default enUS.txt file. To do that open the config.yml and enter the name of your file in the entry "language: enUS.txt", which would then in our example look like: "language: deDE.txt"
Done! No you have to check if Paintball can load your custom langauge file. Paintball will check if it can find all messages it needs and if it has a problem with your file. It will try to let you know if something is wrong and it will then switch back to the default messages! So defenetly check the log after trying out a new language file!
If it says something is wrong with your custom language file: FIRST ignore the warning and CHECK for SPECIAL CHARACTERS. Special characters can mess things up that badly that Paintball is not able to display you a proper error message..

Создай ruRU.txt, скопируй в него русский текст, который ты имеешь, укажи в конфиге ruRU. Если не работает, создай файл deDE.txt и скопируй туда русский текст, укажи в конфиге deDE.txt
 
Do NOT modify the default enUS.txt file. This file is not actually used by the plugin and gets overwritten on each plugin start! If you change anything in it, these changes will simple be gone after the next plugin start!
Create a COPY of the default enUS.txt file and give it a new name, for example: "deDE.txt"
Now you can start modifying the messages in THIS file! Simple change the text between the quotation marks. Do not change the keys (usually written in uppercase letters) or otherwise change the format! Also try avoiding special characters like öäüÖÄÜß etc., otherwise Paintball might not be able to later load your file..
When you are done you have to tell the plugin that you want to use this new file as source of all messages instead of the default enUS.txt file. To do that open the config.yml and enter the name of your file in the entry "language: enUS.txt", which would then in our example look like: "language: deDE.txt"
Done! No you have to check if Paintball can load your custom langauge file. Paintball will check if it can find all messages it needs and if it has a problem with your file. It will try to let you know if something is wrong and it will then switch back to the default messages! So defenetly check the log after trying out a new language file!
If it says something is wrong with your custom language file: FIRST ignore the warning and CHECK for SPECIAL CHARACTERS. Special characters can mess things up that badly that Paintball is not able to display you a proper error message..

Создай ruRU.txt, скопируй в него русский текст, который ты имеешь, укажи в конфиге ruRU. Если не работает, создай файл deDE.txt и скопируй туда русский текст, укажи в конфиге deDE.txt
всё равно не хочет(( я и в ютф-8 и в анси, и как только не называл текст, и не робит(
 
Назад
Верх