joekarl / supertux

Automatically exported from code.google.com/p/supertux
GNU General Public License v3.0
0 stars 0 forks source link

Detecting language does not work, need to select language manually #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start SuperTux from command line. $LANG is for example fi_FI.UTF8 , 
de_DE.UTF8 or fr_FR.UTF8
2. Not all strings are translated, for example world names etc, so I need to 
select language manually from menu.
3. When I select for example Finnish language from settings, most of strings 
are in Finnish in world 1.
4. There is one string ""Eggs The egg makes Tux grow larger. Tux can then smash 
wooden blocks with his head." That is still in English. But it's translated to 
Finnish correctly in world1/fi.po file, as are all other strings of world1 in 
Finnish language. There is bug somewhere also why that one string is not 
translated.

What is the expected output? What do you see instead?

When on clean new install fi_FI.UTF8 is detected and all of Finnish translation 
in world 1 is translated to Finnish, because it's at 100% translation status at 
Transifex and giby has fetched changes from Transifex to Supertux repo.

What version of the product are you using? On what operating system?

- Git repo master branch from https://code.google.com/p/supertux/
- Dowloaded newest changes today 2014-12-14 and compiled from source with 
command:
rm -rf /home/lauri/tux && cmake -DCMAKE_INSTALL_PREFIX=/home/lauri/tux .. && 
make && make install
- Linux Mint 17.1 64bit Mate, laptop has 8GB RAM
- started from command line: cd ~/tux && ./games/supertux2

Please provide any additional information below.

I'm doing Finnish translation of SuperTux.

Original issue reported on code.google.com by x...@xet7.org on 14 Dec 2014 at 3:05

GoogleCodeExporter commented 9 years ago
True for all languages. I will investigate this issue.

Original comment by to...@mozilla-uk.org on 23 Jan 2015 at 1:11

GoogleCodeExporter commented 9 years ago
The issue is that the egg sprite filepath was changed repeatedly. Therefore 
gettext doesn't find a match for the source string anymore. I guess the 
solution would be to change the translations on Transifex or adapt them 
manually in the source.

Giby: I believe you can help here. We're talking about a change from egg-0.png 
to egg.png.

Original comment by to...@mozilla-uk.org on 23 Jan 2015 at 2:01