1. Вы находитесь в сообществе Rubukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на различные языки плагины наших коллег из других стран.
    Скрыть объявление
Скрыть объявление
В преддверии глобального обновления, мы проводим исследования, которые помогут нам сделать опыт пользования форумом ещё удобнее. Помогите нам, примите участие!

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

Тема в разделе "[Архив] Помощь", создана пользователем morfik, 8 июн 2013.

  1. Автор темы
    morfik

    morfik Старожил Пользователь

    Баллы:
    103
    Здравствуйте, скачал плагин paintball, всё работает норм, там же можно экспортировать русификатор, ну я скопировал весь русский текст, создал текстовый документ туда скопировал, и прописал в конфиге, но русского текста всё равно нету, сохранял в ютф-8
     
  2. Dvladislav

    Dvladislav Старожил Переводчик Пользователь

    Баллы:
    173
    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
     
  3. Автор темы
    morfik

    morfik Старожил Пользователь

    Баллы:
    103
    всё равно не хочет(( я и в ютф-8 и в анси, и как только не называл текст, и не робит(
     

Поделиться этой страницей