multilang
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 77
- Joined: Thu Mar 04, 2010 10:15 pm
multilang
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
» 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
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: multilang
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.
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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 77
- Joined: Thu Mar 04, 2010 10:15 pm
Re: multilang
thanks jurchiks
is it possible to translate everything in data folder like scripts, instance or quest?
is it possible to translate everything in data folder like scripts, instance or quest?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: multilang
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.
For the system messages that are inside scripts you'd need to modify them to change text depending on char preference.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 77
- Joined: Thu Mar 04, 2010 10:15 pm
Re: multilang
gameserver\data\scripts\quests\2_WhatWomenWant1\30146-01.htm
i'm translating this htmls too... this is awesome thanks a lot
i'm translating this htmls too... this is awesome thanks a lot
-
- Posts: 77
- Joined: Thu Mar 04, 2010 10:15 pm
Re: multilang
i have some questions
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

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
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: multilang
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.
I think I read somewhere that it's not used/not working yet.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: multilang
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
-
- Posts: 77
- Joined: Thu Mar 04, 2010 10:15 pm
Re: multilang
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...
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...
- tukune
- Posts: 533
- Joined: Sun Mar 29, 2009 2:35 pm
- Location: Japan
Re: multilang
"systemmsg.txt" is a just document. not work. move to recycle box it.
need modify client.
need modify client.
-
- Posts: 77
- Joined: Thu Mar 04, 2010 10:15 pm
Re: multilang
ok i see so what is SystemMessageLocalisation.xml? and is it working?
-
- Posts: 257
- Joined: Thu Dec 16, 2010 5:16 am
Re: multilang
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 of course have multilang enabled in "L2JMods.properties" and languages set, yet I still see no change - regardless of what locale I pick.

I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.
- Szponiasty
- Advanced User
- Posts: 557
- Joined: Mon Apr 21, 2008 1:31 pm
- Location: Eastern Poland
Re: multilang
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.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.
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
-
- Posts: 257
- Joined: Thu Dec 16, 2010 5:16 am
Re: multilang
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
.


I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: multilang
There is already existing multi-language system for system messages even for npc strings.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.
Just noone uses it yet.