Giter Site home page Giter Site logo

Comments (16)

MoathOthman avatar MoathOthman commented on September 24, 2024 1

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.

abdallahnh avatar abdallahnh commented on September 24, 2024

@mEldewaik did you tried UIAlertController instead, I'm using it and it is fine.

from molh.

mEldewaik avatar mEldewaik commented on September 24, 2024

@abdallahnh i use UIAlertViewController to share text does UIAlertController do the same ?

from molh.

abdallahnh avatar abdallahnh commented on September 24, 2024

@mEldewaik yes sure it does

from molh.

mEldewaik avatar mEldewaik commented on September 24, 2024

@abdallahnh the code please πŸ™

from molh.

MoathOthman avatar MoathOthman commented on September 24, 2024

@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.

mEldewaik avatar mEldewaik commented on September 24, 2024

@MoathOthman yes i mean UIActivityViewController it can not be localized unless i close the app and open it again

from molh.

MoathOthman avatar MoathOthman commented on September 24, 2024

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.

mEldewaik avatar mEldewaik commented on September 24, 2024

@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.

MoathOthman avatar MoathOthman commented on September 24, 2024

@mEldewaik I don't think it is possible, but I will look into it soon.

from molh.

mEldewaik avatar mEldewaik commented on September 24, 2024

@MoathOthman so can i disable localization for UIActivityViewController and use only english in all cases ?

from molh.

MoathOthman avatar MoathOthman commented on September 24, 2024

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.

mEldewaik avatar mEldewaik commented on September 24, 2024

@MoathOthman i saw before application support english and arabic and the UIActivityViewController only in english

from molh.

abdallahnh avatar abdallahnh commented on September 24, 2024

@mEldewaik i added some appearance changes please try from master and let me know if this fixed your issue

from molh.

mEldewaik avatar mEldewaik commented on September 24, 2024

@abdallahnh so how can i test it please can you advice ?
how can i try your fix ?

from molh.

mEldewaik avatar mEldewaik commented on September 24, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.