[Q] Japanese fonts on Android 5.0 (Lollipop)? - Nexus 5 Q&A, Help & Troubleshooting

Hello guys,
I'm using a Traditional Chinese interface, when there are Japanese characters, it uses "MTLmr3m.ttf" as the font for Japanese Kana, as in this screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So I reviewed the fallback_fonts.xml and fonts.xml, they both list like this:
In the xml files, they both list "NotoSansJP-Regular.otf" in front of "MTLmr3m.ttf"...
I'm confused because I know the shape of MTLmr3m.ttf is different from the Noto font family which makes Japanese Kana look very weird...

Hi twomoe. I'm in kind of the opposite situation; I use English UI but read Japanese text often. In this case, simplified Chinese fonts are used which makes some Japanese versions of kanji look slightly strange.
In KitKat, the best way to fix this was to use this file: /system/vendor/etc/fallback_fonts.xml.
But now in Lollipop I'm stumped. fallback_fonts.xml is now considered "legacy" and seems to be ignored by the system. Instead, Lollipop seems to use /system/etc/fonts.xml as the source of truth.
I tried copying /system/etc/fonts.xml to /system/vendor/etc/fonts.xml and removing values, but nothing seems to work - none of my changes seem to have any effect.
If you learn any workarounds, please let me know - thanks in advance.
twomoe said:
Hello guys,
I'm using a Traditional Chinese interface, when there are Japanese characters, it uses "MTLmr3m.ttf" as the font for Japanese Kana, as in this screenshot:
View attachment 3013950
So I reviewed the fallback_fonts.xml and fonts.xml, they both list like this:
View attachment 3013953
View attachment 3013954
In the xml files, they both list "NotoSansJP-Regular.otf" in front of "MTLmr3m.ttf"...
I'm confused because I know the shape of MTLmr3m.ttf is different from the Noto font family which makes Japanese Kana look very weird...
Click to expand...
Click to collapse

I'm using Simplified Chinese as system language and I also found this problem. So I extracted the NotoSansJP-Regular.otf and opened it with FontCreator. I found that in fact there was no kana in the font file. I think this is the reason. Then I downloaded the full Noto Sans JP font from Google Website and replaced it. The problem is now solved.

mxalbert1996 said:
I'm using Simplified Chinese as system language and I also found this problem. So I extracted the NotoSansJP-Regular.otf and opened it with FontCreator. I found that in fact there was no kana in the font file. I think this is the reason. Then I downloaded the full Noto Sans JP font from Google Website and replaced it. The problem is now solved.
Click to expand...
Click to collapse
Thank you so much! So it means I can delete MTLmr3m.ttf and only leave the downloaded version of NotoSansJP and everything is OK?

DPUkyle said:
Hi twomoe. I'm in kind of the opposite situation; I use English UI but read Japanese text often. In this case, simplified Chinese fonts are used which makes some Japanese versions of kanji look slightly strange.
In KitKat, the best way to fix this was to use this file: /system/vendor/etc/fallback_fonts.xml.
But now in Lollipop I'm stumped. fallback_fonts.xml is now considered "legacy" and seems to be ignored by the system. Instead, Lollipop seems to use /system/etc/fonts.xml as the source of truth.
I tried copying /system/etc/fonts.xml to /system/vendor/etc/fonts.xml and removing values, but nothing seems to work - none of my changes seem to have any effect.
If you learn any workarounds, please let me know - thanks in advance.
Click to expand...
Click to collapse
Yes there are many differences in Simplified Chinese, Taiwan Chinese, Hong Kong Chinese and Japanese Kanji.
I'm not sure about the solution, but maybe you can change the order: <ja>, <zh-Hant>, <zh-Hans>.
The fallback_fonts.xml and fonts.xml are actually the fallback order of the fonts, the language above have the priority than the language below. For stock, the order is <zh-Hans>, <zh-Hant>, <ja>. So I think it may help to put fileset <ja> above the <zh-Hant> and <zh-Hans>.

twomoe said:
Thank you so much! So it means I can delete MTLmr3m.ttf and only leave the downloaded version of NotoSansJP and everything is OK?
Click to expand...
Click to collapse
That's right!

I made some flashable zips for using Japanese character fallback while using a different system locale for those who need/want them.
You can find them over here.

Related

Orange Today Plugin

[Please note these pics are photoshopped! This is not what the real plugin looks like. V]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
wm5
so is this a hacked version that gets you the modded layout pictured above?
or is it a photoshop as per this thread?
http://forum.xda-developers.com/viewtopic.php?p=366217#366217
if its real...well done!! nice work..
ok, just answered my own Q...its the standard version, not modded like the picture.
:roll:
Hi People,
I just installed the apps and can confirm it is not the hacked version of the orange homescreen as in the photoshop shots.
Cheers,
Shah
Shah2 said:
Hi People,
I just installed the apps and can confirm it is not the hacked version of the orange homescreen as in the photoshop shots.
Cheers,
Shah
Click to expand...
Click to collapse
urm...yeah...like i said! :roll:
Hehe, sorry bout that, was early in the morning when I read it so misinterpreted the answer your own question bit.
Sorry bout that.
By the way I guess the guy in India didn't understand my idea all that well. but he still nice that he tried.
Cheers,
Shah
I found this file can be modify. (DIL_Cfg_A_Perso_L.dap)
[Start]
[Group],4|Group_5 (4=Group_5=Shortcuts)example: 0=Group_1=Contacts
[Elt],4,0|ActiveSync| (4,0=Group,item;ActiveSync=Menu Display)
[Act],4,0|19|\Windows\Start Menu\Programs\ActiveSync.lnk (Action item link)
[Elt],4,1|Notes|
[Act],4,1|19|\Windows\Start Menu\Programs\Notes.lnk
[Elt],4,2|File Explorer|
[Act],4,2|19|\Windows\Start Menu\Programs\File Explorer.lnk
[Elt],4,3|Calculator|
[Act],4,3|19|\Windows\Start Menu\Programs\Calculator.lnk
[End]
so, is there a way to configure this "Plugin"?
I've tryed everything and I can't change the shortcuts location...
any ideas?
...I've also looked at the icons included in the DIL_APP directory and I found one with a camera, but I can't seem to find a way to activate it.
Is there any way to make this happen?
Thanks in advance!
the only thing I have configured is the program links, havent figured out how to change the internet links.
This is my change for T-Chinese.
[Start]
[Group],0|Group_1
[Elt],0,0|聯絡人|
[Act],0,0|1|
[Elt],0,1|新增聯絡人|
[Act],0,1|2|
[Elt],0,2|電話|
[Act],0,2|19|\Windows\cprog.exe
[Group],1|Group_2
[Elt],1,0|電話記錄|
[Act],1,0|3|
[Elt],1,1|未接來電|
[Act],1,1|4|
[Elt],1,2|撥入電話|
[Act],1,2|5|
[Elt],1,3|撥出電話|
[Act],1,3|6|
[Group],2|Group_3
[Elt],2,0|發送 SMS|
[Act],2,0|12|
[Elt],2,1|未讀取 SMS|
[Act],2,1|8|
[Elt],2,2|未讀取 MMS|
[Act],2,2|9|
[Group],3|Group_4
[Elt],3,0|今天|
[Act],3,0|13|
[Elt],3,1|新增約會|
[Act],3,1|14|
[Elt],3,2|設定鬧鐘|
[Act],3,2|21|
[Group],4|Group_5
[Elt],4,0|工作|
[Act],4,0|19|\儲存卡\Windows\Start Menu\Programs\工作.lnk
[Elt],4,1|記事本|
[Act],4,1|19|\儲存卡\Windows\Start Menu\Programs\記事.lnk
[Elt],4,2|mPro商務|
[Act],4,2|19|\儲存卡\Windows\Start Menu\Programs\mPro商務.lnk
[Elt],4,3|檔案總管|
[Act],4,3|19|\儲存卡\Windows\Start Menu\Programs\檔案總管.lnk
[Elt],4,4|相機|
[Act],4,4|15|
[Elt],4,5|圖片與視訊|
[Act],4,5|16|
[Elt],4,6|背景|
[Act],4,6|22|
[Group],5|Group_6
[Elt],5,0|Internet Explorer|
[Act],5,0|19|\儲存卡\Windows\Start Menu\Programs\Internet Explorer.lnk
[Elt],5,1|即時新聞|
[Act],5,1|19|\儲存卡\Windows\Start Menu\Programs\即時新聞.lnk
[End]
But, I don't find how to change URL Link....
Please tell me how to config the plugin, since there are no option for me to do it.
yeah is there anyway how to config the plugin? ok heres my screenshot
i would like to change the color and font of time
Bump on that...
ditto.
mumu311 said:
wm5
Click to expand...
Click to collapse
why yours have config and others?
unlike mine
chev said:
why yours have config and others?
unlike mine
Click to expand...
Click to collapse
Yours is the real Orange plugin. The other one is Photoshopped. It's just an example.
There is only one option button found on the Camera ICON.
It allows you to switch between Normal or Expert Mode.
You can only change 4 shortcuts under EXPERT mode.
The interface is pretty nice, but too bad, cant launch below bug.
Bug found IN NORMAL MODE:
1. Under the camera tab,
Click TAKE A PICTURE.
The file 'camera' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file.
Bug found In EXPERT MODE:
1. Under the folder tab,
Click Speed Dial
(The file 'TSPEEDIAL' cannot be openen. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file.
2.
Addon Bug
Probably a Third Bug
If you remove the plugin, Camera Button no longer recognzed by hardware. cant set anything to it. although camer works fine.
i quite like the interface. too bad, the apps not delicate for O2, missing a lot of functions, therefore, i not using it.
Moreover, i try to read the registry, cant find anything.
lol

Alreader

Does anyone have more info about this app, specially in english? Is the downloaded app in english or russion?
it is BEST ebook reader so far for me.
of course, someone will say booo ubook is better, maybe, but it is MUCH slower and MUCH heavier...and FAR less configurable. alreader is VERY compact program with massive amount of options, hyphenation etc(look inside rar).
it has profiles, that can be switched with...BUTTON - in fact, VERY much things can be mapped to buttons..
btw, there's NOTHING better to read .doc files(lol @ ubook in that matter, just LOL) - awesome loading times.
alreader is in english, here's rar:
http://www.mm.pl/~xoen/AlReader0131.rar
it is able to use many codepages, so far i tested russian, polish, english ebooks.
screen:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
what's VERY interestin that it can handle html pages too:
imo, it is best thing you can use in ROM kitchens.
my OEMpack(preconfigured 2 profiles etc):
http://www.mm.pl/~xoen/!xoalread.rar
only thing is for sure: it may take some time to get around options. some of them are available when file is opened(it may be strange for someone).
i can recommend this soft.
btw, for everyone, that is using apps operating with text - glyphcache set to 131072 or MORE can really speed up performance of programms, not sad 8192, 32768, just more - >131072 can be used. value is in bytes, so it is not strain for system...
sorry for funny english, i can read, can't write...:S
isn't that an older version of alreader?
I just tried it out, it looks great. Just one thing, in my html files i'm getting square boxes. Why is that?
ammarr said:
isn't that an older version of alreader?
Click to expand...
Click to collapse
folder name is not important, i've taken it from older version idd... or i do not know something..this version is 2.3 b70508...
ammarr said:
I just tried it out, it looks great. Just one thing, in my html files i'm getting square boxes. Why is that?
Click to expand...
Click to collapse
check codepage... /file/file format/....
Thanks got it to work. Brilliant and fast reader. Its freeware right?
yes, it is, but you can donate - autor(s) made good job imo...
Formats: HTML, FB2, CHM, TXT, RTF, PDB/PRC (PalmDOC, zTXT mode 1), TCR, text from DOC, DOCX, ODT, SXW, ABW, ZABW, open text inside ZIP, GZ.
Thanks - how about hiding the background time display?
Thanks for the link to this - it is a very cool program.
Has anyone figured out how to turn off the background time display? It doesn't seem necessary since I have the current time displayed in the titlebar, and also along the bottom in the status bar for alreader. I didn't see it in the menu system and I went through it a couple times (could have just missed it but I thought I checked every setting)...
Profiles -> margin and background.
Great application!
And I can get my meager knowledge of Russian to use (I downloaded the newest russian version.)
Not that it woule be necessary
Hi, sorry to sound litlle dumb but how do I make it speak english? Is that even possible? I have downloaded the latest pocket pc version and everything is in russian so i have absolutly no idea what to do... I've tried the one submitted here earlier and even so it was in english, the text of the book was styll in russian font
Anybody know of a working link to an english version (or know how to get the Russian one to display english menus?). Thanks
Guys, I'm Russian. I'm willing to help you so I've searched the AlReader developer forum (http://www.alreader.com/forum/viewforum.php?f=3) and discovered that the latest English version is not free! That may look strange but only Russian one is a freeware. And there's no way in the latest versions to switch interface language.
However few years ago there was no such language separation and if you are using ver. 2.3 or older, you can use it for free and switch interface to English. But, of course version 2.3 is outdated, the latest one is far more advanced.
The newest English version is called AlReader+ and could be downloaded and purchased here:
http://shapeservices.com/en/products/details.php?product=allreader&platform=pocketpc
Thus, it's not possible to put AlReader into cooked WWE ROM. Although it is the best ebook reader software and I'm personally using it.
Sorry for bad news.
Well that sux really i was just going to research that issue. Being a bulgarian i can live with russian menues though
Hi guys I managed to find an old version 2.3 that is speaking Eng and still not needed to register , enjoy
rapidshare.com/files/418837217/AlReader2.3b70502.exe
You can always google AllReader+ 2.6
Alreader English version update
Des anyone have updated informaton on a possible English language version of Alreader? None of the links in this thread actually lead to one.

[CLOSED][APP] Quick Locale

Hi Everyone, I'm a new developer and Quick Locale is my first app
As the name suggests, this app is a quick way to switch the locale, or your phone's language.
Features:
Launch the app from the App Drawer to instantly go to a list of languages. Click to change.
Widget Support! Create a widget on the Homescreen and preselect languages
One click to change language on widgets.
Able to launch full list of languages from Widget, if Full List was preselected.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This app should be compatible with most devices. If there's any problems, leave me a response or an email.
Please leave any suggestions or feature requests too.
Market Link: https://market.android.com/details?id=com.devjackey.quicklocale
Please test it out and give me any feedback.
A Pro version with more widget sizes will be released soon.
Great app and nice work. I'm moving this to Apps / Games.
Great App and very useful, tried it out on my Desire HD, couple of points the radio buttons are very small on the widget, I found myself pressing three or four times not knowing if i was successful. Because of this it seemed to have some lag before I got the message box saying please wait updating system.
Apart from that, sweet...
Quick question
Hi,
I use this, but not sure if using correctly.
I have set a custom setting, with language to English, but location to China, as that is where I am. My hope is that numbers/ address formats will be according to China standards, but display of programs will be in English. But, it really just seems to use American address fields (state, postal code, etc). Is this how it should work?
This looks very nice, i'll give it a whirl shortly.
StellaDel said:
Great App and very useful, tried it out on my Desire HD, couple of points the radio buttons are very small on the widget, I found myself pressing three or four times not knowing if i was successful. Because of this it seemed to have some lag before I got the message box saying please wait updating system.
Apart from that, sweet...
Click to expand...
Click to collapse
Ahh sorry, I should have mentioned that those things that looks like buttons are not buttons. They're light indicators that turn green if the language is currently being used. The part that can be touched is the big square block with the language name.
The light indicators actually don't respond to touch at all. So pressing them an infinite amount of times shouldn't bring any response.
But thank you for the suggestion. I'll make those indicators respond to touch in a future update.
ogami_ito said:
Hi,
I use this, but not sure if using correctly.
I have set a custom setting, with language to English, but location to China, as that is where I am. My hope is that numbers/ address formats will be according to China standards, but display of programs will be in English. But, it really just seems to use American address fields (state, postal code, etc). Is this how it should work?
Click to expand...
Click to collapse
The app works as a duplicate of the Language settings in your Settings. If you change the language to English, everything will be English as if you had changed it in the settings.
From my understanding, the number and address formats are also tied into the Locale so to get the result that you want, you need to make sure your phone has English for a Chinese Country. I think Hong Kong uses English and the Chinese format. I believe you might need the Locale en-hk or read as English (Hong Kong).
My app is only used to switch between languages in a more convenient way, so its unable to provide you with the Locale you need if your device doesn't support it. I suggest taking a look at the app MoreLocale2 from C-LIS Crazy Lab.
Please update for Android 9-up, fiture change language and Time zone with one click. Thanks
Prass93 said:
Please update for Android 9-up, fiture change language and Time zone with one click. Thanks
Click to expand...
Click to collapse
Please be aware that this developer hasn't been seen on XDA for more than 10 years. I've now closed this thread as the last post prior to yours was about 12 years ago and the download link is not functionable.
Regards
Oswald Boelcke
Senior Moderator

[Completed] [Help] Color values of some elements in LG systemui

Hi, as the title says, i need help in finding the color values of this LG systemui which i can't found after hours of searching in colors.xml and drawables.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
thanks in advance
lanvrc said:
Hi, as the title says, i need help in finding the color values of this LG systemui which i can't found after hours of searching in colors.xml and drawables.
thanks in advance
Click to expand...
Click to collapse
Hi lanvrc
Thanks for using XDA Assist.
Could you please state the Model & ROM version of your device so we could better approach your issue guiding you to the appropriate experts? Different Models and different ROM have theirs own approach.
I will be waiting for your reply within the next 2 days.
Nevertheless, as you image has low quality, I was unable to determine the exact color of that screen element. The closer I could get was a RGB value of "F7FCFF" (that may not be so ... you shall verify it). With this value you should be able, using Notepad++ or so, to search the entire APK source for that string value which would be faster than what you are trying to do.
Nice regards.
.
Kdio said:
Hi lanvrc
Thanks for using XDA Assist.
Could you please state the Model & ROM version of your device so we could better approach your issue guiding you to the appropriate experts? Different Models and different ROM have theirs own approach.
I will be waiting for your reply within the next 2 days.
Nevertheless, as you image has low quality, I was unable to determine the exact color of that screen element. The closer I could get was a RGB value of "F7FCFF" (that may not be so ... you shall verify it). With this value you should be able, using Notepad++ or so, to search the entire APK source for that string value which would be faster than what you are trying to do.
Nice regards.
.
Click to expand...
Click to collapse
Thanks for the reply, It's a lg stock rom based on android marshmallow.
all of the elements i pointed has a white color, mostly an icons and some is label/text, but i still can't find it anywhere.
the image is not that bad in my screen (?)
lanvrc said:
Thanks for the reply, It's a lg stock rom based on android marshmallow.
all of the elements i pointed has a white color, mostly an icons and some is label/text, but i still can't find it everywhere.
the image is not that bad in my screen (?)
Click to expand...
Click to collapse
Hi lanvrc
Thanks for the reply.
There are lots of LG devices. When seeking for support one shall be as detailed as possible in order to obtain the most precise support.
Those elements are not "white" as you mentioned. White would be if they appeared into the XML's as "#FFFFFFFF" and they probably doesn't.
I'm suggesting you that first use you should use the "Eyedropper" tool from the Drawing App you use (I do prefer GIMP) and determine the exact RGB color code that element has. With this color code, use Notepad++ to search and pinpoint where that color is used and, as so, narrowing your overall effort.
This is how we do Theme.
And yes, what you are attaching is coming heavily pixalated (see attachment) when I zoom in it.
Nice regards and good luck.
.
Kdio said:
Hi lanvrc
Thanks for the reply.
There are lots of LG devices. When seeking for support one shall be as detailed as possible in order to obtain the most precise support.
Those elements are not "white" as you mentioned. White would be if they appeared into the XML's as "#FFFFFFFF" and they probably doesn't.
I'm suggesting you that first use you should use the "Eyedropper" tool from the Drawing App you use (I do prefer GIMP) and determine the exact RGB color code that element has. With this color code, use Notepad++ to search and pinpoint where that color is used and, as so, narrowing your overall effort.
This is how we do Theme.
And yes, what you are attaching is coming heavily pixalated (see attachment) when I zoom in it.
Nice regards and good luck.
.
Click to expand...
Click to collapse
Sorry i forgot about that, it's LG Magna H502F
I color pick the original image using photoshop and it says #ffffff
i search through every files that contains #ffffffff related to what i (think) is the element and change it to #ff000000 but nothing changed
sim carrier label, settings icon beside user avatar, birghtness slider icon, volume slider icon, these are the elements i want to change

How to force left-to-right on right-to-left language

Hello everyone,
I'm having very serious UI issues whenever I change my language to RTL language like Arabic or Persian, as the ROM is designed only for LTR use
My question is there are anyway to force LTR layout for the whole system, just like "Force RTL" option in the developer option?
I hope that can help everyone who's facing the same issue
1444 said:
Hello everyone,
I'm having very serious UI issues whenever I change my language to RTL language like Arabic or Persian, as the ROM is designed only for LTR use
My question is there are anyway to force LTR layout for the whole system, just like "Force RTL" option in the developer option?
I hope that can help everyone who's facing the same issue
Click to expand...
Click to collapse
The LTR option does not need to be forced, as it is the default for android.
When you select a language in which you are typing towards RTL, the system automatically sets itself according to the settings for that language.
Is your question about the case where, despite the settings for the language with RTL, you would like to keep the LTR direction?
ze7zez said:
The LTR option does not need to be forced, as it is the default for android.
When you select a language in which you are typing towards RTL, the system automatically sets itself according to the settings for that language.
Is your question about the case where, despite the settings for the language with RTL, you would like to keep the LTR direction?
Click to expand...
Click to collapse
Yeah, I don't want the system to change the layout direction to RTL, and just keep it as LTR, there's an option in the developer option that allow the opposite, so I wonder if there are a similar option for LTR layout
I want to change the system layout direction to LTR while using Arabic or Persian instead of RTL, I have a root access but I doesn't even know what is the thing that controls that option
ze7zez said:
The LTR option does not need to be forced, as it is the default for android.
When you select a language in which you are typing towards RTL, the system automatically sets itself according to the settings for that language.
Is your question about the case where, despite the settings for the language with RTL, you would like to keep the LTR direction?
Click to expand...
Click to collapse
Add android:layoutDirection="ltr" to the manifest file for the app.
ze7zez said:
Add android:layoutDirection="ltr" to the manifest file for the app.
Click to expand...
Click to collapse
Thank you, I know that thing, I'm talking about the whole OS, is there are anyway for doing that? RTL layout is known to have so much bugs, even in big company apps like: YouTube, they're not optimized for RTL layout
1444 said:
Thank you, I know that thing, I'm talking about the whole OS, is there are anyway for doing that? RTL layout is known to have so much bugs, even in big company apps like: YouTube, they're not optimized for RTL layout
Click to expand...
Click to collapse
There was already such a thread.
Is there a way to Force Left-To-Right layout on RTL languages (on Arabic & Hebrew)?
Is there a way to Force Left-To-Right layout on RTL languages (on Arabic & Hebrew)? Hi, as you may know, for Localization purposes Android forces Right-to-Left orientation on some languages, like Arabic and Hebrew. Although it makes a perfect...
forum.xda-developers.com
I believe that there is no solution. It would be difficult to expect a drastic change regarding language rules for RTL. Similarly, it's hard to expect the interface to display words upside down.
In any case, an interesting problem to get google interested in.
1444 said:
Hello everyone,
I'm having very serious UI issues whenever I change my language to RTL language like Arabic or Persian, as the ROM is designed only for LTR use
My question is there are anyway to force LTR layout for the whole system, just like "Force RTL" option in the developer option?
I hope that can help everyone who's facing the same issue
Click to expand...
Click to collapse
I have found a solution, It will help any other RTL language users
1- You'll need root + Magisk
2- You'll need LSposed installed
3- Install this
4- After that enter LSposed and give it the accses to System framework
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
6- if your SystemUI or any other app was not compatible with RTL layout, then simply activate force LTR option, and change your device language to any language you wish, you can apply the same thing on all apps that have issues with RTL layout
Note that you may still run into issues, so in that case rebuild the SystemUI to be compatible with RTL layout

Categories

Resources