Euphy

r17251: Multilanguage Support

Recommended Posts

map_conf updated at r17408

Index: trunk/conf/msg_conf/map_msg.conf
===================================================================
--- a/trunk/conf/msg_conf/map_msg.conf
+++ b/trunk/conf/msg_conf/map_msg.conf
@@ -400,5 +400,7 @@
 381: Skill Failed. [%s] requires %dx %s.
 382: You're too close to a stone or emperium to use this skill.
-//383-389 free
+383: You cannot create a savepoint in an instance.
+384: You cannot create a memo in an instance.
+//385-389 free
 //NoAsk
 390: Autorejecting is activated.

Share this post


Link to post
Share on other sites

Update french translate to 17408

http://pastebin.com/pbTCRamh

Criticisms are welcome

 

 

Misc: I made a ugly python file to check the missing/extra message number for each lang file vs main file. Put it in the same msg_conf folder, the diff is saved in a diff file

http://pastebin.com/xurp6VdT

I use it, if it can help

  • Upvote 4

Share this post


Link to post
Share on other sites

Update russian translate to last revision

http://pastebin.com/93BVpFRE

+removed some extra empty lines for easily comparing with eng version (for future)

P.S.: There is a little typo in map_msg.conf at line 670

 

//681-899 free
instead of
//695-899 free
  • Upvote 1

Share this post


Link to post
Share on other sites

can anyone help me i need an arabic language for my server i've been searched too hard but i didnt found anything cuz when i try to write with the command kamib or broadcast it give me a strage language can anyone help me please?

Share this post


Link to post
Share on other sites

Updated FRN and RUS with the two latest files posted in f6f1bca.

Share this post


Link to post
Share on other sites

Hey guys,

I've a question.

 

At the first post was wrote:

This setting is stored as the #langtype variable in `global_reg_value`.

I can't find in global_reg_value anything with langtype.

Can you help me please?

 

I would combine #langtype with a npc like "If (#langtype == eng)".

I know that it is selected by sql table, it is only an example.

Share this post


Link to post
Share on other sites

It is stored as #langtype, as you can see here:

pc_setaccountreg(sd, "#langtype", lang); //For login/char
It's an account variable, so you can directly call it (no need to use an SQL query).

Share this post


Link to post
Share on other sites

Thanks for your fast answer.

 

Here is my test script:

yesenia,137,135,5	script	Test	60,{

	if(#langtype == eng) {
	mes "The text is in english.";
	close;
	}

	if(#langtype == grm) {
	mes "Der Text ist auf deutsch.";
	close;
	}
	
	mes "Keiner der beiden Sprachen.";
	close;
}

 

The message in english works, but not this for german.



Oh lol, works now.

I have changed eng/grm to a number. 

But thanks for your help.^^



Have sending a pull request on GIT for map_msg_grm.conf.

It is only translated at line 85. I will keep it updated.

Edited by Sere

Share this post


Link to post
Share on other sites

how increase the max msg? for example for my custom mod into source i have to 1822 msg for map_msg

but this show error in emulator. how is possible increase the limit of message?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...