Reverse the order of lines within the game ''arabic''

Users who are viewing this thread

adem7777

Recruit

Hello guys, it's been a long time, and I've been trying to support the Arabic language for a long time. I managed to do it after many attempts. But now, I'm facing a new challenge, which is to make the lines appear correctly.


The Arabic language is entirely different from the rest of the world's languages as it starts from right to left, and this has not been supported in the game for a long time. Therefore, I tried to break this rule by reversing the characters to trick the game in one way or another, and it worked, but not as desired. This reverse method resulted in the lines being reversed inside the game. You can understand what I mean in the picture below the explanation.

p_3128dp6bk1.png

I need help finding a way to reverse the order of the lines inside the game.
 
You're facing exactly what I described to you as "PROBLEM #2" here:

You can't go around it, unless you know exactly how long the text is in advance. As mentioned above, your only available workaround is line breaks, but for it to work, you will have to test literally every single line of text that couls possibly appear in the game, and many are dynamically generated, changing their length (for example when a name is used in a string).

What you probably could do is contact @K700 and ask him to add arabic lang support into WSE2 - I've heard that he takes requests from his patrons who pay for certain new features to be added.
Keep in mind however that arabic support is a huge feature, very time-consuming both to code in and test, so expect an appropriately high cost, if he agrees (as far as I know he's not arab himself, so probably no extensive experience with arabic script)
 
You're facing exactly what I described to you as "PROBLEM #2" here:

You can't go around it, unless you know exactly how long the text is in advance. As mentioned above, your only available workaround is line breaks, but for it to work, you will have to test literally every single line of text that couls possibly appear in the game, and many are dynamically generated, changing their length (for example when a name is used in a string).

What you probably could do is contact @K700 and ask him to add arabic lang support into WSE2 - I've heard that he takes requests from his patrons who pay for certain new features to be added.
Keep in mind however that arabic support is a huge feature, very time-consuming both to code in and test, so expect an appropriately high cost, if he agrees (as far as I know he's not arab himself, so probably no extensive experience with arabic script)
I've actually done the hard work. I've literally translated 90% of the game into Arabic while preserving the coding. Therefore, the remaining task is to add a command that makes the writing direction from right to left, and the problem will be solved.

If I knew the location of the modification files or the tools they use, I would do it myself.

Unfortunately, I can't afford the costs, so I'm trying hard to solve the problems they can't solve. Currently, I can read the texts from the bottom line to the top normally, and I understand every sentence in the game in Arabic, which I consider a bright side and a significant progress. I don't know what step to take next, but I will delve into the game until I find a solution.
 
Back
Top Bottom