Topic: How to play with translation?
dreieck Topic Opener |
Posted at: 2018-09-05, 15:58
Hello again, I can't get German translation in the game (I did not try other). It is listed, but the game stays English when I select it. Neither with build 19 (binary from Arch Linux), nor with locally built development version (r8807). (How) is it possible to activate translation? Edited: 2018-09-05, 15:59
(empty signature.) Top Quote |
GunChleoc |
Posted at: 2018-09-05, 17:21
Make sure that you compile with the translations switched on - the CMake switch is OPTION_BUILD_TRANSLATIONS. Otherwise, the translations won't be compiled. We have this switch because there are many translation files, and allowing to skip them speeds up development. If you run If translations have been built properly and you still can't get them, we'll need to do some bug hunting. Edited: 2018-09-05, 17:22
Busy indexing nil values Top Quote |
dreieck Topic Opener |
Posted at: 2018-09-05, 18:39
I have. And after installation I also have under And they have content. E.g. for There is a subdirectory Build configuration is:
(taken from Arch Linux AUR-package Edited: 2018-09-05, 18:40
(empty signature.) Top Quote |
kaputtnik |
Posted at: 2018-09-05, 20:22
I am also on archlinux and can choose all languages. I compile with the compile script using command:
This gives me a debug version with Website executables and all translations. What is the difference? How do you compile? Fight simulator for Widelands: |
dreieck Topic Opener |
Posted at: 2018-09-05, 21:36
Didn't try
Here my
(empty signature.) Top Quote |
kaputtnik |
Posted at: 2018-09-06, 07:24
Just installed the binary (Version 19-13) from the official arch repo and setting a language works as expected for me. Don't know if the systems locale settings are relevant, but what is the output of
? I do not fully understand why you are using a PKGBUILD. I guess after completion you are installing the created package? Installing isn't necessary for running widelands after compilation (if you are using the compile script, which does some moving and linking of files automatically). Fight simulator for Widelands: |
kaputtnik |
Posted at: 2018-09-06, 07:57
Did now a test with widelands from the AUR and also no problems setting the language. So i guess it is something in your system what is making the problem. Fight simulator for Widelands: |
dreieck Topic Opener |
Posted at: 2018-09-06, 10:43
On Thu, 06 Sep 2018 06:40:03 -0000, noreply@widelands.org wrote about "Forum New Post":
It does say
and it is deliberately set this way. Since there is a menu within the game, it should adapt the language even if the environment variables defining default language are different.
I want to install it properly using my package management, and not just having files lingering around somewhere or even been installed without passing through package management.
OK. I just tried to start with
It detects the setting of the variable
It also seems to detect that E.g.
When I start with But still everything stays in English. If not specifying any language with an environment variable or command line option, it honours what was last set in the game options, since it prints to the termial also the lines
But still everything stays English. I did try, to test, with Dansk. Also everything stays English. Hm. EDIT: And, my *
-- Edited: 2018-09-06, 10:57
(empty signature.) Top Quote |
kaputtnik |
Posted at: 2018-09-06, 15:51
Have you tried to uninstall completly and checked for remaining files/folders and reinstall afterwards? If that doesn't work, i have no idea... sorry. Fight simulator for Widelands: |
kaputtnik |
Posted at: 2018-09-06, 16:02
Forgotten:
The compile script does not install anything. The only files it moves around are the executables and it creates a symbolic link. All those files are moved/created into the folder where you ran the script. This is quite convenient, because you can just delete the folder and all files are deleted although. But i guess your goal is something else. Fight simulator for Widelands: |