FTBTeam / FTB-Academy

FTB Academy Issue tracker is now closed, use https://github.com/FTBTeam/FTB-Modpack-Issues
15 stars 26 forks source link

General Guide translation questions #269

Closed nikitasnt closed 3 years ago

nikitasnt commented 4 years ago

For a full Russian translation, it remains only to translate the guide? Please describe how to do this correctly, I'm afraid I misunderstood. Maybe I'll do it in my free time

aaronhowser1 commented 4 years ago

I'll copy the blurb from the Code page:

The guide is a bit more involved to translate, as it doesn't use language keys. Copy the entire /config/ftbguides/modpack_guide/ folder and rename it, adding the language to the end (so for Russian, it would be /modpack_guide_ru_ru/). Missing files will default to the regular modpack_guide folder, which means you can delete images from the translated folder safely (unless you want to retake them to translate any text it has in it). To rename pages, open up the index.jsons and translate the text labeled title only. Leave the ids and folders the way they are now, they won't be seen by the player. The meat of the guide is in the README.md files; translate them however you want, just try to keep them similar to the English versions.

So basically, if the language is set to Russian, it'll try to use whatever's in /modpack_guide_ru_ru/. If there's a file missing from that, it'll use the /modpack_guide/ version. That means you don't have to copy images, unless you want to retake the screenshots with the language changed or something.

nikitasnt commented 4 years ago

Ok. And to translate the text of the guides, you just need to translate the text of the README.md files?

aaronhowser1 commented 4 years ago

Yes, you would make a README.md file in the same relative file location as the English version (meaning both are in, like, /technology/ in both English and Russian) and put the translated text there.

nikitasnt commented 4 years ago

`#Building Gadget Building Gadget Строительный гаджет позволяет быстро создавать простые конструкции, такие как стены и лестницы. Нажмите правой кнопкой мыши на блок, чтобы установить гаджет, чтобы построить этот блок, и щелкните правой кнопкой мыши, чтобы построить там, где отображается голограмма.

Building Modes The Build to Me mode will attempt to make a straight line of blocks from where you're pointing to you.`

Do I need to translate lines:

Building Gadget

... Building Modes

aaronhowser1 commented 4 years ago

Yes. # means that line is big, like a title. So it would look like this, according to Google Translate: #Строительные гаджеты. I think literally every bit of text that's not a link or image in the README.md needs to be translated.

nikitasnt commented 4 years ago

I probably somehow did something wrong on GitGub, I just recently started using it. In general, translations can be found in my repositories. If it is successful, how will it be added to modpack later?

aaronhowser1 commented 4 years ago

You would make a pull request. Honestly, I don't know enough about GitHub to tell you how to do that though, sorry.

/pull/255 is working on Russian quest translations, so maybe ask them.

nikitasnt commented 4 years ago

When I finish the text translation, how can I put it on modpack later?

aaronhowser1 commented 4 years ago

What do you mean? Like, how do you send it to us for us to put it in the modpack officially?

nikitasnt commented 4 years ago

Either this, or if it is impossible, then how I can put it on the downloaded modpack on my computer?

aaronhowser1 commented 4 years ago

Well it would already be in the downloaded modpack on your computer, since you're the one making it. I'm not really sure what you're asking. If you want to send it to us when you're done, you would make a pull request here.

nikitasnt commented 4 years ago

I do not translate in the folder of the downloaded modpack, but in the folder modpack_guide downloaded from here and renamed me modpack_guide_ru_ru. When I finish work, do I need to move this folder next to the modpack_guide folder in the modpack?

aaronhowser1 commented 4 years ago

Download the modpack_guide here, rename it to modpack_guide_ru_ru, put it in /config/ftbguides/, do the translation stuff, and that's it (aside from sending it to us).

aaronhowser1 commented 4 years ago

Please be aware of the changes made in https://github.com/FTBTeam/FTB-Academy/commit/8b1c694eea0021acaac07ba79fa143298e6008cf