Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with rtl on ios #13406

Closed
kfir91 opened this issue Apr 9, 2017 · 2 comments
Closed

Issues with rtl on ios #13406

kfir91 opened this issue Apr 9, 2017 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@kfir91
Copy link

kfir91 commented Apr 9, 2017

Hello,
i added

 // in AppDelegate.m
   [[RCTI18nUtil sharedInstance] allowRTL:YES];

and
I18nManager.forceRTL(true);

in main js
and still when i use flex: 1 the text ltr and textAlign not help for this...

the problem is only on ios, in android all the things are good.

tnx a lot

@hramos
Copy link
Contributor

hramos commented May 31, 2017

Hey, thanks for reporting this issue!

It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.

I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!

@hramos hramos closed this as completed May 31, 2017
@big-toni
Copy link

big-toni commented Dec 8, 2017

@kfir91 I had the same issue:

if your localization strings files are inside react native project, iOS project doesn't know the app is "ready" for localization.

you need to add DUMMY Localizable.strings language files to make app "ready" for RTL

I added Localizable.strings inside iOS project for 'ar' and 'en' both containing only: "DUMMY_KEY" = "DUMMY_VALUE";

Screen_Shot_2017_12_08_at_16_22_46

and now the app starts RTL by default if the device is set to RTL

@facebook facebook locked as resolved and limited conversation to collaborators May 31, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants