Jump to content
  • 0
Diana

Language left to right when langtype is 19

Question

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?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites
  • 0

Old client supports RTL..

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

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

function	script	mes_ar	{
	[email protected]$ = getarg(0);
	explode([email protected]$, [email protected]$, " ");
	[email protected] = getarraysize([email protected]$) -1;
	for([email protected][email protected];[email protected]>=0;[email protected]){
		[email protected]$ += [email protected]$[[email protected]] + " ";
	}
	mes [email protected]$;
	return;
}

How to use:

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

 

Edited by sader1992
  • Upvote 2

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)
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

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.