Page 1 of 1

[Discontinued] [Mod] Localization [i18n]

PostPosted: Mon Nov 09, 2015 01:55
by MrIbby
This mod is discontinued. Use intllib: viewtopic.php?id=4929

+ Spoiler

Re: [Mod] Localization [i18n]

PostPosted: Mon Nov 09, 2015 02:18
by kaeza
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".

Re: [Mod] Localization [i18n]

PostPosted: Tue Nov 10, 2015 02:55
by MrIbby
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.

Re: [Mod] Localization [i18n]

PostPosted: Thu Nov 26, 2015 15:08
by mahmutelmas06
What is advanges of this mod over Vortoj or intllib ?
Intllib support translating infotexts but seems this one is not right ?

Re: [Mod] Localization [i18n]

PostPosted: Thu Nov 26, 2015 17:41
by MrIbby
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.

Re: [Mod] Localization [i18n]

PostPosted: Thu Nov 26, 2015 17:45
by mahmutelmas06
I am translating some mods so could you tell me how to translate infotexts ?

Re: [Mod] Localization [i18n]

PostPosted: Thu Nov 26, 2015 19:27
by rubenwardy
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())