Methane-mod icon indicating copy to clipboard operation
Methane-mod copied to clipboard

Translate methane into other languages

Open AnOpenSauceDev opened this issue 2 years ago • 17 comments

^ pretty self-explanatory, not really a high priority right now.

AnOpenSauceDev avatar Feb 10 '23 06:02 AnOpenSauceDev

given the maturity of the mod, this seems to be a logical step forward.

AnOpenSauceDev avatar Apr 28 '23 20:04 AnOpenSauceDev

what languages are currently available?

Cyclopropinon avatar Apr 29 '23 09:04 Cyclopropinon

what languages are currently available?

two variants of english, and an incomplete deutsch (german) translation by @JustAlittleWolf .

AnOpenSauceDev avatar Apr 29 '23 21:04 AnOpenSauceDev

i can help with german and chinese(simplified) (both native speaker) tell me how

Cyclopropinon avatar Apr 30 '23 18:04 Cyclopropinon

i can help with german and chinese(simplified) (both native speaker) tell me how

@Cyclopropinon

Sure! it's basically like making a resourcepack.

go into src/main/resources/assets/methane/lang

all the files there are language files, and they are named after their corresponding country codes (i.e. en_au for australian english, en_us for american english, etc.)

to create a translation, create (or enter) the file, and label the translation key (stuff like the methane. or text.autoconfig. things). It should be pretty easy if you follow the pre-made english files as an example.

AnOpenSauceDev avatar Apr 30 '23 22:04 AnOpenSauceDev

oof grafik the "ausgabefenster" is empty Branch: 1.20_kludge

Cyclopropinon avatar May 03 '23 17:05 Cyclopropinon

found the issue Remote: Permission to AnOpenSauceDev/Methane-mod.git denied to Cyclopropinon. @AnOpenSauceDev pls gimme perms

Cyclopropinon avatar May 03 '23 18:05 Cyclopropinon

found the issue Remote: Permission to AnOpenSauceDev/Methane-mod.git denied to Cyclopropinon. @AnOpenSauceDev pls gimme perms

you can't just directly push to a git remote, things like this need a pull request

AnOpenSauceDev avatar May 03 '23 18:05 AnOpenSauceDev

does that mean i have to make a new fork?

Cyclopropinon avatar May 03 '23 18:05 Cyclopropinon

does that mean i have to make a new fork?

not quite, you should be able to commit the same file to master on your existing fork, then PR that.

AnOpenSauceDev avatar May 03 '23 18:05 AnOpenSauceDev

ah lemme try

Cyclopropinon avatar May 03 '23 18:05 Cyclopropinon

@Cyclopropinon are you having trouble pushing the commit?

AnOpenSauceDev avatar May 03 '23 18:05 AnOpenSauceDev

it worked

Cyclopropinon avatar May 04 '23 09:05 Cyclopropinon

https://github.com/AnOpenSauceDev/Methane-mod/commit/04e4a2a58785f56901fe09c1a0a40e8170db28cf

Cyclopropinon avatar May 04 '23 09:05 Cyclopropinon

Aside from what i think is a typo, this looks good to me. Make a pull request if you want it merged now. (i can fix typos after the fact anyways)

AnOpenSauceDev avatar May 04 '23 09:05 AnOpenSauceDev

i can do that but ill first add a few more langs

Cyclopropinon avatar May 04 '23 11:05 Cyclopropinon

there u go: https://github.com/AnOpenSauceDev/Methane-mod/pull/36

Cyclopropinon avatar May 04 '23 11:05 Cyclopropinon