[Discontinued] [Mod] Localization [i18n]

User avatar
MrIbby
Member
 
Posts: 34
Joined: Sat Apr 26, 2014 23:24
GitHub: MrIbby

[Discontinued] [Mod] Localization [i18n]

by MrIbby » Mon Nov 09, 2015 01:55

This mod is discontinued. Use intllib: viewtopic.php?id=4929

+ Spoiler
Last edited by MrIbby on Sat Feb 20, 2016 19:21, edited 22 times in total.
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: [Mod] Localization [i18n]

by kaeza » Mon Nov 09, 2015 02:18

Not to disregard your work, but maybe you should focus on helping with the other translation mods, like vortoj, and intllib.

You seem to take pretty much the intllib approach (mod-based translations instead of vortoj's centralized translations).

MrIbby wrote:Function allowing mods to replace all descriptions and not depend on i18n

See intllib's `S` "macro".
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
MrIbby
Member
 
Posts: 34
Joined: Sat Apr 26, 2014 23:24
GitHub: MrIbby

Re: [Mod] Localization [i18n]

by MrIbby » Tue Nov 10, 2015 02:55

I looked through the code, and I think what I have in mind is a bit too different. Anyways, thanks for the example.

Uh, sure.
Join the Tox revolution!
---
CC License Compatibility Chart
 

User avatar
mahmutelmas06
Member
 
Posts: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Localization [i18n]

by mahmutelmas06 » Thu Nov 26, 2015 15:08

What is advanges of this mod over Vortoj or intllib ?
Intllib support translating infotexts but seems this one is not right ?
My Mods:

Beverage
 

User avatar
MrIbby
Member
 
Posts: 34
Joined: Sat Apr 26, 2014 23:24
GitHub: MrIbby

Re: [Mod] Localization [i18n]

by MrIbby » Thu Nov 26, 2015 17:41

i18n is kind of a hybrid of vortoj and intllib. It allows translation of infotexts (intllib) and automatic translation of items (vortoj). However, I haven't provided any documentation on how to translate infotexts.
Join the Tox revolution!
---
CC License Compatibility Chart
 

User avatar
mahmutelmas06
Member
 
Posts: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Localization [i18n]

by mahmutelmas06 » Thu Nov 26, 2015 17:45

I am translating some mods so could you tell me how to translate infotexts ?
My Mods:

Beverage
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Localization [i18n]

by rubenwardy » Thu Nov 26, 2015 19:27

Adding support for this format, and automatically detecting it, would be nice: https://github.com/rubenwardy/food/blob ... ale/fr.txt

Or at least add an override for S = intllib.Getter(minetest.get_current_modname())
 


Return to WIP Mods

Who is online

Users browsing this forum: Bing [Bot] and 11 guests

cron