Use Weblate for collaborative translation #552
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-Minecraft feature
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#552
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, thanks a lot for this
modgame :)https://hosted.weblate.org/projects/minetest/minetest/
Before speaking about implementation, technical details and human resources, is the general idea ok?
Suggestion: use Weblate for collaborative translation. (like Minetest)to Suggestion: use Weblate for collaborative translation (like Minetest)First of all: MineClone 2 is NOT a mod!!! It's a game. That's a huge difference!
About Weblate:
I agree completely. I just need to get around to do it.
Sadly, it's not trivial to do so because Minetest uses a weird file format for translations that needs to be converted to something that Weblate understands.
So making Weblate work will require quite some work.
Suggestion: use Weblate for collaborative translation (like Minetest)to Use Weblate for collaborative translationEdited to fix the mistake. Sorry to have ruined what should have been a compliment ^^"
Thanks for the green light about Weblate, and for the giving an entry point for someone willing to look into this.
Is creating a two-way converter between an established format that Weblate accepts and the weird Minetest format feasible? Is the MT formate completely homegrown?
Yes, the MT format is (sadly) homegrown.
Yes, a converter would be nice. I'd recommend to use the PO format as reference, as it's well tried-and-tested.
If you create anything useful, I also strongly recommend to post about it in the forums because this will be important to the entire Minetest community, not just MCL2.
According to the following wiki page, Minetest now has a new i18n library based on gettext:
https://wiki.minetest.net/Mods/Internationalization_Lib_for_Minetest
Here's a rudimentary JavaScript converter that you can test in your browser: https://output.jsbin.com/qihusix
By the way, I tested these two files in /mineclone2/mods/PLAYER/mcl_hunger/locale/
... and the last line looks buggy to me. Isn't the first thing supposed to be
@1
instead of%1
in the translation?If you find translations that don't get properly converted to gettext, let me know. I used the gettext syntax provided here:
https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html
intllib
is not new, it's a legacy mod, as Minetest uses its own translation system since 5.0.0. The major downside ofintllib
is that it forces the same language on all players on a server.Switching to
intllib
is NOT a solution.I do agree, however, that Minetest must switch to Gettext PO format. Or at least provide a functional toolchain.
What about the translations I mentioned? That looks incorrect to me.
Oh, the
mcl_hunger
thing? Oops, right, I forgot that. Thanks, is fixed now.