0.5.0 RC1 problem: where are all the languages?

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
GreatBunzinni
Engineer
Engineer
Posts: 18
Joined: 22 Dec 2006 11:53

0.5.0 RC1 problem: where are all the languages?

Post by GreatBunzinni »

I've just got OpenTTD 0.5.0 RC1 to run under Kubuntu 6.10. Right now it still runs from my /home directory and in order to do that I had to make a few symbolic links to the 0.4.8 files. The problem is that when I run it the only available languages are bulgarian, russian, ukrainian and esperanto, although the ./lang directory has plenty of translation files. As I do not speak any of those languages, what can I do to be able to run OpenTTD 0.5.0 RC1 with a language that I'm able to understand?
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

What did you download, how did you compile and what .lng files do you have in the lang/ directory?
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
GreatBunzinni
Engineer
Engineer
Posts: 18
Joined: 22 Dec 2006 11:53

Post by GreatBunzinni »

Darkvater wrote:What did you download
openttd-0.5.0-RC1-source.tar.bz2 from OpenTTD's project page on sourceforge.org
Darkvater wrote: how did you compile
I just unpacked the tar.bz2 file and ran make.
Darkvater wrote: and what .lng files do you have in the lang/ directory?
Here are the contents of the ./lang directory:

Code: Select all

rui@laptop:lang$ pwd
/home/rui/software/openttd-0.5.0-RC1/lang
rui@laptop:lang$ ls -l
total 9640
-rw-r--r-- 1 rui rui  57315 2006-12-22 11:34 american.lng
-rw-r--r-- 1 rui rui 271973 2006-12-09 19:53 american.txt
-rw-r--r-- 1 rui rui  66733 2006-12-22 11:34 brazilian_portuguese.lng
-rw-r--r-- 1 rui rui 284276 2006-12-09 06:57 brazilian_portuguese.txt
-rw-r--r-- 1 rui rui 129401 2006-12-22 11:26 bulgarian.lng
-rw-r--r-- 1 rui rui 327069 2006-12-07 14:35 bulgarian.txt
-rw-r--r-- 1 rui rui  66635 2006-12-22 11:34 catalan.lng
-rw-r--r-- 1 rui rui 283748 2006-12-19 06:14 catalan.txt
-rw-r--r-- 1 rui rui  59862 2006-12-22 11:34 czech.lng
-rw-r--r-- 1 rui rui 285600 2006-12-07 14:35 czech.txt
-rw-r--r-- 1 rui rui  58091 2006-12-22 11:34 danish.lng
-rw-r--r-- 1 rui rui 272120 2006-12-11 18:29 danish.txt
-rw-r--r-- 1 rui rui  61025 2006-12-22 11:34 dutch.lng
-rw-r--r-- 1 rui rui 276532 2006-12-11 18:29 dutch.txt
-rw-r--r-- 1 rui rui  57444 2006-12-22 11:34 english.lng
-rw-r--r-- 1 rui rui 272812 2006-12-21 10:29 english.txt
-rw-r--r-- 1 rui rui  73546 2006-12-22 11:26 esperanto.lng
-rw-r--r-- 1 rui rui 253185 2006-12-19 06:14 esperanto.txt
-rw-r--r-- 1 rui rui  59347 2006-12-22 11:34 estonian.lng
-rw-r--r-- 1 rui rui 277006 2006-12-19 06:14 estonian.txt
-rw-r--r-- 1 rui rui  60373 2006-12-22 11:34 finnish.lng
-rw-r--r-- 1 rui rui 275258 2006-12-07 18:37 finnish.txt
-rw-r--r-- 1 rui rui  67154 2006-12-22 11:34 french.lng
-rw-r--r-- 1 rui rui 285280 2006-12-19 06:14 french.txt
-rw-r--r-- 1 rui rui  67810 2006-12-22 11:34 galician.lng
-rw-r--r-- 1 rui rui 265997 2006-12-07 14:35 galician.txt
-rw-r--r-- 1 rui rui  62824 2006-12-22 11:34 german.lng
-rw-r--r-- 1 rui rui 279192 2006-12-09 19:53 german.txt
-rw-r--r-- 1 rui rui  61737 2006-12-22 11:34 hungarian.lng
-rw-r--r-- 1 rui rui 291316 2006-12-09 19:53 hungarian.txt
-rw-r--r-- 1 rui rui  57675 2006-12-22 11:34 icelandic.lng
-rw-r--r-- 1 rui rui 255924 2006-12-07 14:37 icelandic.txt
-rw-r--r-- 1 rui rui  64850 2006-12-22 11:34 italian.lng
-rw-r--r-- 1 rui rui 280759 2006-12-09 18:37 italian.txt
-rw-r--r-- 1 rui rui  57320 2006-12-22 11:34 norwegian.lng
-rw-r--r-- 1 rui rui 267843 2006-12-07 14:35 norwegian.txt
-rw-r--r-- 1 rui rui  57494 2006-12-22 11:34 origveh.lng
-rw-r--r-- 1 rui rui  12232 2006-11-16 22:19 origveh.txt
-rw-r--r-- 1 rui rui  64107 2006-12-22 11:34 polish.lng
-rw-r--r-- 1 rui rui 287970 2006-12-12 07:40 polish.txt
-rw-r--r-- 1 rui rui  67265 2006-12-22 11:34 portuguese.lng
-rw-r--r-- 1 rui rui 285839 2006-12-19 06:14 portuguese.txt
-rw-r--r-- 1 rui rui  64623 2006-12-22 11:34 romanian.lng
-rw-r--r-- 1 rui rui 281714 2006-12-12 13:49 romanian.txt
-rw-r--r-- 1 rui rui 123452 2006-12-22 11:26 russian.lng
-rw-r--r-- 1 rui rui 324831 2006-12-19 06:14 russian.txt
-rw-r--r-- 1 rui rui  56985 2006-12-22 11:34 slovak.lng
-rw-r--r-- 1 rui rui 277323 2006-12-15 09:50 slovak.txt
-rw-r--r-- 1 rui rui  67009 2006-12-22 11:34 spanish.lng
-rw-r--r-- 1 rui rui 280454 2006-12-07 14:35 spanish.txt
-rw-r--r-- 1 rui rui  56903 2006-12-22 11:34 swedish.lng
-rw-r--r-- 1 rui rui 273249 2006-12-07 14:35 swedish.txt
-rw-r--r-- 1 rui rui  51931 2006-12-22 11:34 turkish.lng
-rw-r--r-- 1 rui rui 269547 2006-12-15 09:50 turkish.txt
-rw-r--r-- 1 rui rui 119284 2006-12-22 11:26 ukrainian.lng
-rw-r--r-- 1 rui rui 317814 2006-12-21 10:41 ukrainian.txt
drwxr-xr-x 2 rui rui   4096 2006-12-21 23:30 unfinished
User avatar
Maedhros
OpenTTD Developer
OpenTTD Developer
Posts: 603
Joined: 30 Mar 2006 18:24
Location: Durham, UK

Re: 0.5.0 RC1 problem: where are all the languages?

Post by Maedhros »

GreatBunzinni wrote:Right now it still runs from my /home directory and in order to do that I had to make a few symbolic links to the 0.4.8 files.
Which files did you make symbolic links to?
No-one's more important than the earthworm.
GreatBunzinni
Engineer
Engineer
Posts: 18
Joined: 22 Dec 2006 11:53

Re: 0.5.0 RC1 problem: where are all the languages?

Post by GreatBunzinni »

Maedhros wrote:Which files did you make symbolic links to?

Code: Select all

rui@laptop:openttd-0.5.0-RC1$ find -type l
./data/sample.cat
./data/trg1r.grf
./data/trgcr.grf
./data/trghr.grf
./data/trgir.grf
./data/trgtr.grf
Those links point to the files which are used by the 0.4.8 install from the Ubuntu repositories.
GreatBunzinni
Engineer
Engineer
Posts: 18
Joined: 22 Dec 2006 11:53

Re: 0.5.0 RC1 problem: where are all the languages?

Post by GreatBunzinni »

Update.It sees that esperanto is the only language which is displayed in a decent manner. When any of the other language is selected (bulgarian, russian, ukrainian) the text ends up being a large sequence of question marks.
User avatar
glx
OpenTTD Developer
OpenTTD Developer
Posts: 621
Joined: 02 Dec 2005 15:43
Location: Drancy(93) - France
Contact:

Post by glx »

Did you read the post in "General OpenTTD" section?

You need to set the fonts for non-latin languages
GreatBunzinni
Engineer
Engineer
Posts: 18
Joined: 22 Dec 2006 11:53

Post by GreatBunzinni »

glx wrote:Did you read the post in "General OpenTTD" section?

You need to set the fonts for non-latin languages
I've just followed your advice and tried to set up the fonts. Unfortunately I wasn't successful. I've only managed to set up the fonts by specifying the full path to the font files and now, instead of the question marks, the application lists the dreaded box of no character. The available languages remain the same as before.
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

Does english work? Does dutch work, eg show up properly?
If you want to use symbolic fontnames you need to compile with fontconfig-support.

Do you have a screenshot for us from the game options menu with the language files dropdown?

And perhaps a screenshot showing us your problem?
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
GreatBunzinni
Engineer
Engineer
Posts: 18
Joined: 22 Dec 2006 11:53

Post by GreatBunzinni »

Darkvater wrote:Does english work? Does dutch work, eg show up properly?
Unfortunately neither english or dutch works. The only languages which are presented in the options are the ones I stated before: bulgarian, russian, ukrainian and esperanto.
Darkvater wrote: If you want to use symbolic fontnames you need to compile with fontconfig-support.
Regarding that, the lack of a ./configure script (or equivalent) is a real PitA. It seems that OpenTTD would benefit a lot from it. Why not implement one? It would make the lives of some users a whole lot easier.
Darkvater wrote: Do you have a screenshot for us from the game options menu with the language files dropdown?

And perhaps a screenshot showing us your problem?
I will gladly supply any screenshot. What do I have to do to supply them? Is it possible to just add the files as attachments?
GreatBunzinni
Engineer
Engineer
Posts: 18
Joined: 22 Dec 2006 11:53

Solved?

Post by GreatBunzinni »

I've just downloaded the .DEB file for the 0.5.0 RC1 and it seems that everything runs fine now. My native language renders properly and all the other languages are listed. So no more problem, I guess.
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

Good to hear it works. OpenTTD does have a simple ./configure, just try it.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Google [Bot] and 4 guests