PC and Android versions don't match (Farsi/Arabic)
Leopard20 opened this issue · comments
Maybe the difference you see is related to the font used by each system?
Maybe, but the Arabic font kinda looks the same as the Farsi one. So shouldn't they both be bugged?
On both Windows and Android, we just tell the system to "draw this text on this bitmap please" and hope for the best. It's possible that there's a different way we should do it, or some flag to set or something.. Or Android support for Farsi on that particular version of Android or something might just be broken? Have you tried on other devices?
No, but I'll test it later.
I just found it weird that it worked on Windows but not on Android. I wish I could build the app my own so I could try changing a few things to figure out what the problem is
Do you think if I replace the lang file in the apk package directly it'll work?
Another strange thing is everything looks good in the Graphics submenu, but not in others.
Could be some nonstandard use of RTL markers in the ini? or failure of PPSSPP to load them correctly from there..
Actually your word "nonstandard" gave me an idea as to what the problem may be.
Basically Windows supports two types of Farsi keyboards: One is called Farsi (abbreviated as FA) and another Farsi Standard (FAS). I probably have accidentally switched between the two during translation and it may have caused an issue. Don't know which one is the one that worked though! I'll have to try both to find out.
It seems to mostly have a problem when non rtl glyphs are in a string? Or an I mistaken?
-[Unknown]
@Leopard20 , is this the expected result ?
index bf0db1b..7586381 100644
--- a/ar_AE.ini
+++ b/ar_AE.ini
@@ -866,7 +866,7 @@ PSP-2000/3000 = PSP-2000/3000
Record Audio = تسجيل الصوت
Record Display = سجل الفيديو
Reset Recording on Save/Load State = Reset recording on Save/Load state
-Restore Default Settings = إلي الإفتراضي PPSSPP's إعادة إعدادات
+Restore Default Settings = <U+200E>إلي الإفتراضي PPSSPP's إعادة إعدادات
Rewind Snapshot Frequency = ترجيع تردد اللقطة (يأكل الذاكرة)
Save path in installed.txt = installed.txt مسار الحفظ في
Save path in My Documents = مسار الحفظ في مستنداتي
@Florin9doi Yep! That worked! I'll update the rest when I have the time. Or if you want go ahead and complete it yourself!
Thanks!