Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text right to left (xonotic menu)

#1
Question 
Hi,
Currently I'm translating Xonotic to Arabic, which is written from right to left.
I was wondering if there is an instruction to do so.
something like: "prvm_language ar; menu_start", which is used to charge a specific "po" file (Arabic here).

Thank you for your replies. Smile
Reply

#2
How are you translating it? You're using http://translate.xonotic.org/, are you not?

Anyway, once you have the .ar.po files in your data directory, you can indeed run the command
Code:
prvm_language ar; menu_restart
and it should be using your translation.

I have no idea whether we support RTL scripts though... Can you test and tell me how well that works?
Reply

#3
Quote:How are you translating it?
I'm using "Virtaal" to translate the "po" file.

Quote:I have no idea whether we support RTL scripts though... Can you test and tell me how well that works?
No, it doesn't, the script is written from left to right.
For example the string "Text language:" in Arabic is supposed to be like this: "لغة النص" but instead it's like this: "ص ن ل ا ة غ ل".
Reply

#4
Okay, thank you. Supporting RTL scripts is not very easy unfortunately, that would be a lot of trouble. Not to mention that arabic is a complex script.

I'll make a feature request, but I don't think we'll see this implemented any time soon.

EDIT: Here it is: http://dev.xonotic.org/issues/1719

I'm sorry about this Sad
Reply

#5
Thank you for your reply Smile

From https://en.wikipedia.org/wiki/Complex_text_layout:
Quote:Some CTL implementations do not encapsulate information about specific scripts. In these implementations, the script-specific CTL information resides within the font files.
I tried to use another font other than xolonium (I used kacstone), the font changed but the problem remains.

Quote:I'm sorry about this
No problem Big Grin
Reply

#6
As I feared, divVerent isn't too thrilled about this feature request. See the update in the tracker item, http://dev.xonotic.org/issues/1719 .
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Speech to text, or almost voice chat oblector 0 937 06-30-2022, 06:29 PM
Last Post: oblector
  Changing Menu Organization? BuddyFriendGuy 6 6,774 08-15-2015, 10:38 PM
Last Post: BuddyFriendGuy
  +roll_right vs. +right BuddyFriendGuy 2 3,424 05-18-2015, 06:50 PM
Last Post: BuddyFriendGuy
  Testr Menu Theme pry 7 6,550 06-15-2013, 03:39 AM
Last Post: CuBe0wL
Brick Weapons defined in text files / de-harding weapons [feature debate] MirceaKitsune 41 44,402 10-10-2012, 03:59 PM
Last Post: hutty
  Game key bindings working while typing text AviyaL 3 5,333 09-23-2012, 05:35 AM
Last Post: Mr. Bougo
  The first run menu has problems into console Calinou 4 5,571 01-19-2011, 06:33 AM
Last Post: Calinou
  Menu master[mind] 106 108,274 09-26-2010, 11:54 AM
Last Post: FruitieX

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-