Open TurKurT656 opened 4 years ago
I'd highly appreciate it if you could create a small sample project reproducing the issue. Otherwise, it's hard to find out the cause of the issue without looking into details of your implementation.
Thanks in advance!
I've created a sample repo for this: LingverTest
Steps to generate bug:
1)
2)
3)
4)
5)
I have the same issue too.
@YarikSOffice did you see the sample?
I have the same issue when app goes landscape. The layout direction changed to system setting after changing direction.
The activity config in manifest is android:configChanges="keyboardHidden|orientation|screenSize"
UpdateLocaleDelegate class doesn't have this :
config.setLayoutDirection(targetLocale)
, so just put it to fun updateResources
@Kolyall I don't think I'd help since config.setLayoutDirection
is being invoked automatically within config.setLocale/setLocales
call.
I've given it a few tries, but haven't found a solution yet. Marking the bug as a known issue for now.
Any update on this? Because it's happening with the deep link too
I haven't found any solution yet.
If you provide a sample project, I can check whether your issue is related to this bug.
I've set the locale with this code:
Lingver.getInstance().setLocale(requireContext(), "fa")
It useRTL
layout direction. Everything works great, but when I use the app in split screen mode and then maximize it again layout direction resets toLTR
(but it uses farsi strings).How can I fix the issue?