Jump to content
  • 0

Language left to right when langtype is 19


Diana

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.03
  • Content Count:  188
  • Reputation:   3
  • Joined:  12/17/16
  • Last Seen:  

Hello, I'm trying use updated client [2020-04-01bRagexe]

Using langtype 19 for Arabic language

and when I use any script that contain Arabic words I can see Arabic words from left to right

It's possible to make it from right to left to be able to read it normally?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   10
  • Joined:  10/31/16
  • Last Seen:  

I don't think current exe support RTL languages. Did you try old exe to see if it works?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.03
  • Content Count:  188
  • Reputation:   3
  • Joined:  12/17/16
  • Last Seen:  

Old client supports RTL..

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

at the end of your rathena/npc/other/Global_Functions.txt add

function	script	mes_ar	{
	.@g$ = getarg(0);
	explode(.@m$, .@g$, " ");
	.@s = getarraysize(.@m$) -1;
	for(.@i=.@s;.@i>=0;.@i--){
		.@r$ += .@m$[.@i] + " ";
	}
	mes .@r$;
	return;
}

How to use:

prontera,0,0,0	script	xxxxxx	444,{
	mes_ar "روح شوف كونوسوبا";
end;
}

 

Edited by sader1992
  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.03
  • Content Count:  188
  • Reputation:   3
  • Joined:  12/17/16
  • Last Seen:  

@sader1992 This won't effect the english sentences in the game?

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

14 hours ago, Diana said:

@sader1992 This won't effect the english sentences in the game?

use mes for English and mes_ar for Arabic

for sentences with both languages try and see the result and use whatever

this is not a perfect solution , it's just a work around the problem for now

Edited by sader1992
  • Love 1
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
Answer this question...

×   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...