Page 1 of 2

multilang

Posted: Tue Oct 05, 2010 8:08 pm
by sancak
If you want to receive support we need this info to help you properly.
ยป Find Revision
i'm using freya server last update.

my question is about language support. how are we using this system? is there any guide.

in my server i create a folder in gameserver\data\lang\tr\data\html\.....\.... etc.

how a player is choosing this option?
will i put htmls(translated) in this folder with same npc id?

thanks for your answers, i think this will help lots of ppl

Re: multilang

Posted: Tue Oct 05, 2010 8:24 pm
by jurchiks
The htm's are named and placed exactly the same as data/html, just in lang/%languagehere%/data/html
Players use a voiced command .lang to choose their language (if you type it without parameters, it will give you an explanation).
If the htm in the language they've chosen is not present, the default will be used.

Re: multilang

Posted: Wed Oct 06, 2010 11:40 am
by sancak
thanks jurchiks

is it possible to translate everything in data folder like scripts, instance or quest?

Re: multilang

Posted: Wed Oct 06, 2010 11:43 am
by jurchiks
Everything that is in .htm files, more or less.
For the system messages that are inside scripts you'd need to modify them to change text depending on char preference.

Re: multilang

Posted: Wed Oct 06, 2010 11:50 am
by sancak
gameserver\data\scripts\quests\2_WhatWomenWant1\30146-01.htm

i'm translating this htmls too... this is awesome thanks a lot

Re: multilang

Posted: Sat Oct 16, 2010 10:50 am
by sancak
i have some questions :oops:

1.what are we doing with
C:\Users\gunce\Desktop\freya\gameserver\data\lang\tr\systemmsg.txt

2.is this the SystemMsg-e.dat in the system folder or what?

3.when i translate this file nothing change, what should i do?


thanks

Re: multilang

Posted: Sat Oct 16, 2010 10:55 am
by jurchiks
well, it contains a lot of the same text that's in systemmsg-e.dat, but there's less than half of it.
I think I read somewhere that it's not used/not working yet.

Re: multilang

Posted: Sat Oct 16, 2010 11:14 am
by Probe
I think approx 100-150 messages from the file aren't used ingame anymore but the rest are, l2j simply didn't add them to the java enum yet beacause they are for missing events/features

Re: multilang

Posted: Fri Mar 25, 2011 4:32 pm
by sancak
now i'm using freye latest version... is systemmsg work? and what is sm folder, and what is SystemMessageLocalisation.xml how will i write and where will i find message id.

i change configs to true,
i create my folders for turkish language as:

/lang/tr/data/html
/lang/tr/data/scripts etc...

/lang/tr/sm
/lang/tr/sm/SystemMessageLocalisation.xml
/lang/tr/systemmsg.txt

thanks for answers...

Re: multilang

Posted: Sat Mar 26, 2011 4:44 am
by tukune
"systemmsg.txt" is a just document. not work. move to recycle box it.
need modify client.

Re: multilang

Posted: Mon Mar 28, 2011 4:40 pm
by sancak
ok i see so what is SystemMessageLocalisation.xml? and is it working?

Re: multilang

Posted: Wed Mar 13, 2013 2:34 pm
by Hyrelius
I'm sorry to revive such an old thread, but it seems that nothing regarding the localization of SystemMessageId works yet. Not even if I send the SystemMessageId by myself (using .sendPacket). It's always the English text, that appears in the client. So am I correct? It still doesn't work at all?

I of course have multilang enabled in "L2JMods.properties" and languages set, yet I still see no change - regardless of what locale I pick.

Re: multilang

Posted: Sat Mar 30, 2013 2:50 pm
by Szponiasty
Hyrelius wrote:I'm sorry to revive such an old thread, but it seems that nothing regarding the localization of SystemMessageId works yet. Not even if I send the SystemMessageId by myself (using .sendPacket). It's always the English text, that appears in the client. So am I correct? It still doesn't work at all?

I of course have multilang enabled in "L2JMods.properties" and languages set, yet I still see no change - regardless of what locale I pick.
I'm going out now, be back on monday. Remind me and I'll share my rework for languages support for system messages and other.

Re: multilang

Posted: Tue Apr 02, 2013 7:07 am
by Hyrelius
Dude, that'd be awesome and I'm sure, that others would highly appreciate it as well! I'd be very happy if you could help me by sharing your work regarding system messages and those other things whatever they might be. Thank you in advance, man :).

Re: multilang

Posted: Tue Apr 02, 2013 2:21 pm
by UnAfraid
Hyrelius wrote:Dude, that'd be awesome and I'm sure, that others would highly appreciate it as well! I'd be very happy if you could help me by sharing your work regarding system messages and those other things whatever they might be. Thank you in advance, man :).
There is already existing multi-language system for system messages even for npc strings.
Just noone uses it yet.