project-navigation
Personal tools

Author Topic: Norwegian translation  (Read 12114 times)

Offline solbu

  • Administrator
  • Rookie
  • *****
  • Posts: 30
  • Norwegian translator, Mageia packager
    • View Profile
    • My website
Norwegian translation
« on: April 06, 2010, 06:35:34 am »
Just wanted to inform the community that I'm in the process of creating a norwegian language file, that will be completed sometime this week. As of this writing I have completed 4.650 lines in two days. Total lines in the file are 15.770. 8)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Norwegian translation
« Reply #1 on: April 06, 2010, 05:15:03 pm »
feel free to submit work in progress patches, too - that way we can already prepare the integration of the new translation. and be sure to translate the ufopedia articles in the wiki.

Offline solbu

  • Administrator
  • Rookie
  • *****
  • Posts: 30
  • Norwegian translator, Mageia packager
    • View Profile
    • My website
Re: Norwegian translation
« Reply #2 on: April 07, 2010, 12:39:03 am »
feel free to submit work in progress patches, too - that way we can already prepare the integration of the new translation.
I have copied the danish translation file (src/po/da.po), as much of the written languageis the same. It saves me a lot of work.
so a submittion will have quite some danish text in it.
Quote
and be sure to translate the ufopedia articles in the wiki.
I'll do that after I've completed the file.

I have completed translating the file down to and including alien_xvi_pre_txt

Offline solbu

  • Administrator
  • Rookie
  • *****
  • Posts: 30
  • Norwegian translator, Mageia packager
    • View Profile
    • My website
Re: Norwegian translation
« Reply #3 on: April 07, 2010, 12:59:56 am »
By the way, how do I submit language files?
(Remember, I'm editing a .po file.)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Norwegian translation
« Reply #4 on: April 07, 2010, 07:40:30 am »
Code: [Select]
svn add src/po/yourlanguage.po
svn diff src/po > yourlanguage.diff

if you are using windows and tortoisesvn you can do almost the same (add, diff) with the tortoise context menu

submit that yourlanguage.diff file - to the patch tracker at https://sourceforge.net/tracker/?atid=805244&group_id=157793&func=browse

Offline solbu

  • Administrator
  • Rookie
  • *****
  • Posts: 30
  • Norwegian translator, Mageia packager
    • View Profile
    • My website
Re: Norwegian translation
« Reply #5 on: April 08, 2010, 02:25:58 pm »
Code: [Select]
svn add src/po/yourlanguage.po
svn diff src/po > yourlanguage.diff
I must admidt I didn't quite understand that part. I do not have a SVN-copy of the game, and as far as I'm able to tell there is no one else translating to norwegian.
Also, I do not have a sourceforge account.
Ok, I just created an account.. I'll try to add the file today, Friday.

Quote
if you are using windows
Fortunately I don't. 8)

Quote
submit that yourlanguage.diff file - to the patch tracker at https://sourceforge.net/tracker/?atid=805244&group_id=157793&func=browse
But I first have to submit a no.po-file?


And I just completed monoknife_txt :)
« Last Edit: April 09, 2010, 08:19:58 am by solbu »

Offline solbu

  • Administrator
  • Rookie
  • *****
  • Posts: 30
  • Norwegian translator, Mageia packager
    • View Profile
    • My website
Re: Norwegian translation
« Reply #6 on: April 09, 2010, 10:06:15 am »
Code: [Select]
svn add src/po/yourlanguage.po
svn diff src/po > yourlanguage.diff

submit that yourlanguage.diff file - to the patch tracker at https://sourceforge.net/tracker/?atid=805244&group_id=157793&func=browse

I have tried that 4 times now. The file norwegian.diff does not show up, and I do not get a page saying anything about whether or not it was added, if I'm supposed to get one.

Offline solbu

  • Administrator
  • Rookie
  • *****
  • Posts: 30
  • Norwegian translator, Mageia packager
    • View Profile
    • My website
Re: Norwegian translation
« Reply #7 on: April 14, 2010, 05:22:59 pm »
53% completed - 7342 lines out of 13917. 8)

The total line count are shrinking due to the fact that the danish template I'm editing have multiple lines, whereas I use longer lines it its place.
« Last Edit: April 14, 2010, 05:29:58 pm by solbu »

Offline ComDiver

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: Norwegian translation
« Reply #8 on: March 01, 2011, 01:30:35 pm »
Hi I can help with the translation. Just tell me what to do

Offline solbu

  • Administrator
  • Rookie
  • *****
  • Posts: 30
  • Norwegian translator, Mageia packager
    • View Profile
    • My website
Re: Norwegian translation
« Reply #9 on: May 10, 2011, 10:47:58 am »
Hi I can help with the translation. Just tell me what to do
Hi, sorry for late response. I forgot to respond. ;)
I haven't been translating anything since sometime last year. Something happened and I had to focus on other things, and I simply forgot to continue. And it has since slipped my mind.

To translate, download the sourcecode, latest stable is fine, and find src/po/ufoai-no.po. That is the translation. Start from craft_upgrade_am_engines_txt, that was the last place I translated.
Also open src/po/ufoai-en.po as that is the english text. It sometimes have strings needed translation that the Norwegian file doesn't have. Often because they add text strings as the game development progresses.

I will start translating also, hopefully starting today. You might consider starting from the bottom of the file and going up, so we don't end up translating the same text, twice. :)


To do the actual translation I depend on translate.google.com. It saves me a lot of work, and it usually is correct. Then I simply rearrange the text Google suggest, and sometimes replace a word or three, to have the sentences make more sence. Also beware of "orddeling" which Google translate seems to be fond of. :)
« Last Edit: May 10, 2011, 10:55:18 am by solbu »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Norwegian translation
« Reply #10 on: May 10, 2011, 11:28:47 am »

Solbu, actually you gave some wrong advices to your friend.

1. To translate short text (menus, messages) get the latest po file from Git (You don't need the whole game source just the po file. Use Poedit only for editing!

2. Translate big texts (those that only have some marker in po file (like assault_txt) in Wiki

3. "craft_upgrade_am_engines_txt" is actually a dead research topic, you shouldn't translate it (If you checked the wiki, it says "source text unfinished")

4. Read Translating article for details.

-geever

Offline solbu

  • Administrator
  • Rookie
  • *****
  • Posts: 30
  • Norwegian translator, Mageia packager
    • View Profile
    • My website
Re: Norwegian translation
« Reply #11 on: January 31, 2012, 07:42:17 am »
In case anyone is wondering, I have just started to continue the translation.
And I am using poedit as of now. Previously I have been using mcedit in a terminal.

I have marked all danish strings as fuzzy.
As of now, poedit states:
40% complete, 2918 strings, 1016 fuzzy, 733 not translated.

It is an old translation file, but I will be using this one for now. I can add the rest, if any, later on.

Offline solbu

  • Administrator
  • Rookie
  • *****
  • Posts: 30
  • Norwegian translator, Mageia packager
    • View Profile
    • My website
Re: Norwegian translation
« Reply #12 on: July 29, 2012, 05:47:59 am »
If you want to look at my progress, you can watch this page.
Status as of this writing is: 91% translated, 207 fuzzy strings, 40 strings not translated.

I have a real hope of completing this in a few weeks, this time. 8)