Text right to left (xonotic menu) - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10) +--- Forum: Xonotic - Development (https://forums.xonotic.org/forumdisplay.php?fid=12) +--- Thread: Text right to left (xonotic menu) (/showthread.php?tid=4286) |
Text right to left (xonotic menu) - kariminf - 07-06-2013 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. RE: Text right to left (xonotic menu) - Mr. Bougo - 07-06-2013 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 I have no idea whether we support RTL scripts though... Can you test and tell me how well that works? RE: Text right to left (xonotic menu) - kariminf - 07-06-2013 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: "ص ن ل ا ة غ ل". RE: Text right to left (xonotic menu) - Mr. Bougo - 07-07-2013 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 RE: Text right to left (xonotic menu) - kariminf - 07-07-2013 Thank you for your reply 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 thisNo problem RE: Text right to left (xonotic menu) - Mr. Bougo - 07-08-2013 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 . |