Comments (16)
it would be interesting to be able to force certain language for certain strings, or even certain view controllers. am not aware of any currently, but will look into it.
from molh.
@mEldewaik did you tried UIAlertController instead, I'm using it and it is fine.
from molh.
@abdallahnh i use UIAlertViewController to share text does UIAlertController do the same ?
from molh.
@mEldewaik yes sure it does
from molh.
@abdallahnh the code please π
from molh.
@mEldewaik can you share a screenshot of what are you trying to localize. I guess you mean UIActivityViewController not UIAlertViewController as there is no such thing AFAIK!
from molh.
@MoathOthman yes i mean UIActivityViewController it can not be localized unless i close the app and open it again
from molh.
I don\t there is a straight way to achieve it since its part of uikit and , check https://medium.com/@dark_torch/working-with-localization-in-swift-part-2-e7c8a660eb2a on "Other Frameworks and bundles" section , at best you get to change the localization but not the layout.
from molh.
@MoathOthman i don't think it is the answer as it is already translated but its is not flipped and translated until i close and open the app again .
from molh.
@mEldewaik I don't think it is possible, but I will look into it soon.
from molh.
@MoathOthman so can i disable localization for UIActivityViewController and use only english in all cases ?
from molh.
no because you don't have access to the layout code and the localization is handled in another bundle.
if you can find the localization keys for the strings in the activityview , then there is a way. but i forgot tbh how to do that, if you managed to do that please let me know.
from molh.
@MoathOthman i saw before application support english and arabic and the UIActivityViewController only in english
from molh.
@mEldewaik i added some appearance changes please try from master and let me know if this fixed your issue
from molh.
@abdallahnh so how can i test it please can you advice ?
how can i try your fix ?
from molh.
@abdallahnh i download the pod and implement button and make a share but the issue still exist i can not find solution :(
from molh.
Related Issues (20)
- application restart not working as well HOT 10
- Label's font doesn't change with language (Localization) HOT 1
- App Getting Crashed for iOS 13 HOT 9
- Kurdish language corrupted text HOT 14
- Canβt embed molh in objective c project HOT 1
- images flip even I forced it to LTR
- Not work fine with Zendesk Chat HOT 7
- reset func not work in version 1.3 HOT 6
- set Default Language to Arabic not working right on first run HOT 19
- Language not changed on camera icons and toolbar
- when change language to Urdu or Arabic and run app , texts font changed to this font HOT 1
- after update xcode and swift version HOT 16
- UIDatePicker & UISearchBar not changing language after reset HOT 3
- i have to close and open app to make view flipped case arabic language is ok but view still not flipped on first time run HOT 1
- Apple pay button text is not localised when we change the language from app but when app is restarted it works fine
- numbers language does not change after localization till restarting the app HOT 4
- App Crash Randomly HOT 3
- Regressed crash in MOLH file HOT 2
- Back button direction wrong
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from molh.