[Mod] Translate Item Texts [Mod]

User avatar
lordfingle
Member
 
Posts: 65
Joined: Sat Apr 04, 2015 09:21
GitHub: eidy
IRC: lordfingle
In-game: lordfingle

[Mod] Translate Item Texts [Mod]

by lordfingle » Sat Dec 24, 2016 23:42

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
Last edited by lordfingle on Mon Jan 23, 2017 02:58, edited 2 times in total.
----------------------------------------------------------------------------------------------
Team Lead on "eidy- Love learning"
I like reading, walks on the beach and building edutech experiences in lua (Find out more in this post)
"Coming together is a beginning; keeping together is progress; working together is success." - Henry Ford
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Translate Item Texts [Mod]

by Krock » Sun Dec 25, 2016 09:16

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 :)
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
lordfingle
Member
 
Posts: 65
Joined: Sat Apr 04, 2015 09:21
GitHub: eidy
IRC: lordfingle
In-game: lordfingle

Re: [Mod] Translate Item Texts [Mod]

by lordfingle » Sun Jan 01, 2017 22:38

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.
----------------------------------------------------------------------------------------------
Team Lead on "eidy- Love learning"
I like reading, walks on the beach and building edutech experiences in lua (Find out more in this post)
"Coming together is a beginning; keeping together is progress; working together is success." - Henry Ford
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 8 guests

cron