Donation

Help us to pay our server!
(: Consider a donation :)



Social Media

  • Facebook
  • Google+

Latest Posts

Topic: How to submit changes?

Forums » Widelands Development » Translations & Internationalization » How to submit changes?



foxmulder32
Avatar
Joined: 2015-09-09, 22:08
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-09-09, 22:48

I have a .patch-file with some changings and additions in russian translation. How can I "apply" this changes to source code? Please, provide me step-by-step way. Thanks. Also I want to do changings in russian texts in future. Sorry for my english.


Top Quote
Tibor
Joined: 2009-03-24, 01:24
Posts: 742
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2015-09-09, 22:59

Oh, nice to see another contributor!

We are using launchpad for our source code. You need to get trunk to your PC, branch it into new branch (under new name) and push it back to launchpad, see here:

https://code.launchpad.net/widelands

Once you feel your branch is mature enough, propose it for merge, see here:

https://code.launchpad.net/widelands/+activereviews

When approved, somebody will merge it back to trunk. For more details:

https://wl.widelands.org/wiki/BzrPrimer/

EDIT: see post bellow face-smile.png

Edited: 2015-09-09, 23:07
Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 22:48
Posts: 950
Ranking
One Elder of Players
Location: Germany
Posted at: 2015-09-09, 23:01

Hi face-smile.png

welcome to the forum. Translations are managed via transifex. You have to make an account on transifex and after that you could work on translations into russian.

Edited: 2015-09-09, 23:03
Top Quote
foxmulder32
Avatar
Joined: 2015-09-09, 22:08
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-09-09, 23:09

Thank you all for fast replies. Transifex is too complicated and weird way IMO - it need JS and I don't want edit text in browser window, so I should learn launchpad. Ok. I just dream that is a simple way like e-mail patch to somebody. But if not, it's ok.


Top Quote
Tibor
Joined: 2009-03-24, 01:24
Posts: 742
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2015-09-09, 23:11

@foxmulder32

I am not sure if translations can go also via launchpad... I am not involved in this kind of stuff.


Top Quote
foxmulder32
Avatar
Joined: 2015-09-09, 22:08
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-09-09, 23:14

But texts is just text files in po/ directory. Why not? I'm confused a bit. Need to learn more. Not easy way to just write some human text )


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 22:48
Posts: 950
Ranking
One Elder of Players
Location: Germany
Posted at: 2015-09-09, 23:24

If your patch contains only translation related stuff i think it's not possible (anymore) to make this via launchpad. On launchpad only program code related stuff is managed.

Changing po files should be possible... maybe GunChleoc could tell if it is possible (or/and wanted). So please wait until GunChleoc answers face-smile.png


Top Quote
foxmulder32
Avatar
Joined: 2015-09-09, 22:08
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-09-09, 23:30

Ok, I just wait for him.


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 17:56
Posts: 1686
Ranking
One Elder of Players
Posted at: 2015-09-10, 16:47

Welcome to the team! face-smile.png

Please use Transifex to manage your translations, because there are other translators working on there as well, and you might overwrite their efforts.

Transifex has a download/upload function that you can use if you prefer to edit your translations offline. I like to use Virtaal or PoEdit myself face-smile.png

  1. Go to your language: https://www.transifex.com/widelands/widelands/language/ru/
  2. Click on the template that you wish to download/upload
  3. Click on what you want: Download for use / Download for translation / Upload file

ETA: You should also join the Russian translation team on Transifex if you haven't done so already, so we can add you to the credits and you will receive announcements.

We also have a general translation guide for Widelands: https://wl.widelands.org/wiki/TranslatingWidelands/

Edited: 2015-09-10, 16:51
Top Quote
foxmulder32
Avatar
Joined: 2015-09-09, 22:08
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-09-10, 16:56

Got it. Thank you for short manual. It's useful. Will join to russian team soon.


Top Quote