Jump to content

r17251: Multilanguage Support


Euphy

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

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.
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  143
  • Reputation:   30
  • Joined:  12/23/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  07/24/13
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

From now on, please submit pull requests on GIT to submit translation updates. Thank you!

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   2
  • Joined:  02/11/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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).
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   2
  • Joined:  02/11/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  258
  • Reputation:   53
  • Joined:  01/09/12
  • Last Seen:  

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?

Link to comment
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.

×
×
  • Create New...