Page 1 of 1

[solved] Incomplete translations

PostPosted: Sat Jan 17, 2015 22:51
by ngosang
I have checked the translation file (minetest.po) for Spanish language and everything seem translated but in the game there are several incomplete translations. I'm playing stable 0.4.11 in Windows. The red boxes are text in English that should be in Spanish.
Image
Image
Image
Image
Image
Image

Re: Incomplete translations

PostPosted: Sun Jan 18, 2015 08:31
by Krock
Looks like something changed in the loading text, thus it doesn't translate anymore.

This translation file seems to be outdated:
https://github.com/minetest/minetest/bl ... inetest.po

Re: Incomplete translations

PostPosted: Sun Jan 18, 2015 13:29
by ngosang
I checked the translation file again and the translations are there:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
msgid "Texturepacks"
msgstr "Paquete de texturas"

Shutting down.. is not, Shutting down stuff... instead.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
msgid "Shutting down stuff..."
msgstr "Apagando cosas..."

Change keys it's with differente case.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
msgid "Change keys"
msgstr "Configurar Teclas"

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
msgid "You died."
msgstr "Has muerto."

The "None" word isn`t in the file.

Re: Incomplete translations

PostPosted: Sun Jan 18, 2015 13:56
by ngosang
I think te problem is in game.cpp. For example in the line 1054 the following code don't use the translation files.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
   std::string formspec =
      std::string(FORMSPEC_VERSION_STRING) +
      SIZE_TAG
      "bgcolor[#320000b4;true]"
      "label[4.85,1.35;You died.]"
      "button_exit[4,3;3,0.5;btn_respawn;" + gettext("Respawn") + "]"
      ;

Re: Incomplete translations

PostPosted: Mon Jan 19, 2015 19:40
by ngosang
I've fixed it myself. I'll upload the changes to GitHub in the next days.

Re: Incomplete translations

PostPosted: Mon Jan 19, 2015 19:45
by Linuxdirk
… at least you have working translations :(

Re: Incomplete translations

PostPosted: Wed Jan 21, 2015 02:07
by ngosang
I uploaded the changes in GitHub. Should work for other languages too.
https://github.com/minetest/minetest/pull/2169
https://github.com/minetest/minetest/co ... 21199878af

Problem solved.