Page 1 of 1

[Mod] Translate Item Texts [Mod]

PostPosted: Sat Dec 24, 2016 23:42
by lordfingle
Translate Item Texts
--------------------
This mod acts as a fast way of overriding the item texts of ALL mods in a minetest game (including defaults) in one place.

Need to get your game translated to another language in a hurry?
Do you use mods that don't support inttlib?
Can't be bothered going through 30+ mods implementing it?

Perhaps this is the mod for you!


Download at https://github.com/eidy/intlitems/archive/master.zip


To create a template:

1. Place this mod in your game's mods folder
2. Set this option in minetest.conf

writeintlitemstemplate = true

3. Run up your minetest game

5. Execute this command:

/writeintlitemstemplate

This will create a "template.txt", which can be used to create translation files in your chosen language...

Depends on:
intllib

Licence:

Apache 2.0


Partial template.txt for (mostly) minetest_game:

Brown Doom floor = brown black floor
Wooden Sword = wooden sword
Cactus Helmet = cactus helmet
Matured Jungle Vines = matured jungle vines
black detail = black panel
Aspen Wood Planks = aspen wood planks
Small Bag = small bag
Sticky Piston = sticky piston
electronic screen 2 = electronic screen
Mese Block = mese
Stair west = stair
Brown Sheep = brown sheep
Chicken = chicken
Oak Tree Sapling = tree sapling
Picture #6 = picture
mobs_spider spawner waiting env =
Rail = rail
blue stripe light = blue stripe light
black Sliding Door = black sliding door
Lampost 4 = lamp
Stone Slab = platform
Dark Green Wool = dark green wool
Mesecons Logic Gate: xor = XOR Logic Gate
Basket = basket
Beech Tree Leaves = beech tree leaves
Mesecons Logic Gate: nand = logic nand
Mesecons Logic Gate: and = logic and
Mesecons Logic Gate: not = logic not
Mesecons Logic Gate: diode = logic diode
Delayer =
Matured Roots = roots
mobs_spider spawner env =
Oak Tree Planks = tree planks
Desert Stone Brick Stair = desert brick stair
Rusty Prison Door = rusty prison door
Apple Tree Planks = apple tree planks
Stone Sword = sword
Desert Stone Brick = desert brick
Giant Sequoia Planks Slab = giant sequoia planks platform


Image

Re: [Mod] Translate Item Texts [Mod]

PostPosted: Sun Dec 25, 2016 09:16
by Krock
Interesting mod. It's really helpful to generate a language template file for all item, node and tool descriptions.
Could you perhaps add a seperator (comment line) in the generated template file, that contains the name of the current mod? Currently it is quite hard to see to which mod the description belongs.

PS: Thanks for that christmas gift :)

Re: [Mod] Translate Item Texts [Mod]

PostPosted: Sun Jan 01, 2017 22:38
by lordfingle
Glad you find the idea useful - I suppose I could sort the entries by mod prefix and place them together if that's useful.
Made sure you re-download now - Lookups werent working properly.