Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#62514 - [minetest] Enable localization

Attached to Project: Community Packages
Opened by Wuzzy (Wuzzy) - Tuesday, 30 April 2019, 22:48 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 10 June 2019, 12:43 GMT
Task Type Feature Request
Category Packages
Status Assigned
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

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

Comment by Wuzzy (Wuzzy) - Saturday, 07 September 2019, 10:17 GMT
Hello again!

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/

Loading...