We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ef278a commit 421e6aeCopy full SHA for 421e6ae
1 file changed
packages/react-native/React/Modules/RCTI18nUtil.m
@@ -95,7 +95,9 @@ - (BOOL)isDevicePreferredLanguageRTL
95
return direction == NSLocaleLanguageDirectionRightToLeft;
96
}
97
98
-// Check if the current application language is RTL
+// Intersect Xcode "Localization" languages with the system languages and checks if the result is using RTL
99
+// For RTL support, app must add an RTL lang to .pbxproj's knownRegions = ( ... )
100
+// and user must have chosen an RTL language
101
- (BOOL)isApplicationPreferredLanguageRTL
102
{
103
NSWritingDirection direction = [NSParagraphStyle defaultWritingDirectionForLanguage:nil];
0 commit comments