project-navigation
Personal tools

Author Topic: Japanese translation  (Read 12309 times)

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Japanese translation
« on: January 20, 2009, 06:23:04 am »
hi, I haven't seen you for a long time ;)
today, I brought new Japanese translation :D

this: (contain po, mo, some *.ufos for correct translation)
http://sourceforge.net/tracker2/?func=detail&aid=2522520&group_id=157793&atid=805244

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Japanese translation
« Reply #1 on: January 20, 2009, 07:48:41 am »
please see the comment that i left on the tracker. your po file is a lot smaller than the translation we current have in trunk - please make sure to always use the latest version from trunk for further work.

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: Japanese translation
« Reply #2 on: January 20, 2009, 09:02:06 am »
I updated the file in latest *.pot.
and the size differences between trank and mine are due to the UFOpaedia entry of the untranslation.

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: Japanese translation
« Reply #3 on: January 20, 2009, 01:30:18 pm »
Update translations!
http://sourceforge.net/tracker2/?func=detail&aid=2523529&group_id=157793&atid=805244

Japanese translations (mo, po) - now based on trunk ver.
some *.ufos for correct translation - Please make it to the mark correctly (Became independent) if it was wrong
sentences.
Its independence is necessary for a correct Japanese translations.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Japanese translation
« Reply #4 on: January 20, 2009, 06:17:41 pm »
thanks - but have you read the comment i gave to you? ;)
please submit patches - not full files, and please also don't add the mo file. it's autogenerated from the po file.

and another new beg - please don't use 7z (should also not be needed when you submit patches instead of full files ;) )

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: Japanese translation
« Reply #5 on: January 20, 2009, 07:23:04 pm »
oh sorry :o
I will check it next time.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Japanese translation
« Reply #6 on: January 20, 2009, 10:26:13 pm »
Its independence is necessary for a correct Japanese translations.

Can you elaborate on the ambiguity for the "P. Armour" and "Heavy W." changes you made? Where do the translations for these words differ?

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: Japanese translation
« Reply #7 on: January 21, 2009, 05:10:22 am »
"P. Armour" -> independence aircraft armour(when equip aircraft) and item effect display (Armour)
"Heavy W." -> independence item weight... i checked that, now already independence, sorry :o

but, The independence of the following words is necessary in the addition.
menu_bases.ufo "Aircraft" to the "Hangar"

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Japanese translation
« Reply #8 on: January 21, 2009, 02:44:48 pm »
The thing is that I don't want to rename stuff for translation purposes. Homonyms should be handled in the po files (I don't know how this is possible since I don't really know gettext but mattn thinks it can be done) rather than by arbitrarily altering the source text.

One thing I tried is opening the po file in a text editor and changing
Code: [Select]
#: ../base/ufos/menu_team.ufo:1247 client/campaign/cl_mapfightequip.c:1227
#: client/cl_ufopedia.c:195
msgid "Armour"
msgstr "アーマー"
to
Code: [Select]
#: ../base/ufos/menu_team.ufo:1247
msgid "Armour"
msgstr "アーマー"

#: client/campaign/cl_mapfightequip.c:1227
#: client/cl_ufopedia.c:195
msgid "Armour"
msgstr "アーマー"

Which seems to work for poedit. Unfortunately, I think this is not a solution. I don't know if gettext would understand, and besides the fields would be merged again on the next automatic update. But I'm pretty sure this is what we want.

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: Japanese translation
« Reply #9 on: January 21, 2009, 02:51:20 pm »
Btaxis, we have updated our c::b package due to gettext, old version doesn`t support message context. New one support, and this feature is used in uforadiant-*.po. There is special token, but I don`t know details.

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: Japanese translation
« Reply #10 on: January 21, 2009, 07:21:15 pm »
I tried msgctxt.
It doesn't seem to work with UFOAI.
Perhaps, it is necessary to update gettext.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Japanese translation
« Reply #11 on: January 21, 2009, 08:32:14 pm »
We updated the package not too long ago. When did you last download the C::B package (if that's what you're using, at least)?

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: Japanese translation
« Reply #12 on: January 21, 2009, 08:33:15 pm »
I don`t know, should code be updated too

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: Japanese translation
« Reply #13 on: January 22, 2009, 02:30:35 am »
We updated the package not too long ago. When did you last download the C::B package (if that's what you're using, at least)?
Because I do not have the compilation environment.
Following Build is used.
http://www.destructavator.com/public/UFOAI_2_3Dv_r21709_m21666.zip

If it introduces Build that uses it if this doesn't use New Gettext, it is glad.

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: Japanese translation
« Reply #14 on: January 22, 2009, 06:21:45 pm »
ok, I build latest tarball using new C:B Package.
msgctxt seems not to work still.

"C_("context","untranslatetext")" is not recognized accurately instead of "_untranslatetext" in *.ufo to be precise.
« Last Edit: January 22, 2009, 06:32:32 pm by Arkblade »