FS#62514 - [minetest] Enable localization
Attached to Project:
Community Packages
Opened by Wuzzy (Wuzzy) - Tuesday, 30 April 2019, 22:48 GMT
Last edited by Laurent Carlier (lordheavy) - Saturday, 18 April 2020, 06:55 GMT
Opened by Wuzzy (Wuzzy) - Tuesday, 30 April 2019, 22:48 GMT
Last edited by Laurent Carlier (lordheavy) - Saturday, 18 April 2020, 06:55 GMT
|
Details
Description:
The Arch Linux version of Minetest does not appear to be compiled with localization support enabled. Every string is always in English. My self-compiled version of a fresh, clean git clone of Minetest 5.0.1 is, however, translated properly. Therefore I believe this is an issue with the Arch Linux package rather than upstream. The relevant CMake variable that enables translations is "ENABLE_GETTEXT=ON". Oddly, it is ON by default. *shrug* Additional info: * package version(s): 5.0.1-1 * config and/or log files etc.: N/A * link to upstream bug report, if any: N/A Steps to reproduce: 1. Start Minetest (package version 5.0.1-1) in a non-English locale 2. Look at the interface |
This task depends upon
Closed by Laurent Carlier (lordheavy)
Saturday, 18 April 2020, 06:55 GMT
Reason for closing: No response
Saturday, 18 April 2020, 06:55 GMT
Reason for closing: No response
I think I found the reason for the problem! So, Minetest seems indeed to be compiled with Gettext support (You can check with ./minetest --version). That's not the problem.
The problem seems to be the “locale” directory is simply not copied in the PGKBUILD script ...
Possible fix (NOT tested, please test yourselves!):
Replace this line (in the PKGBUILD, line 85, package version 5.0.1-1):
cp -r games builtin client fonts textures "$pkgdir"/usr/share/minetest/
With:
cp -r games builtin client fonts textures locale "$pkgdir"/usr/share/minetest/