Git Product home page Git Product logo

localization102's People

Contributors

dark2torch avatar moathothman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

localization102's Issues

Switch language in Google Place Autocomplete results

I am using this library for my project and this is really good. I am using Google Place Autocomplete API, when I switch language the google place API search result not affected without restart the app, others are working perfectly. Is there any way to do that??

issue in layout

i have use this library in my project this really good lib. for language change with animation .
i have one problem with textField text field data not display in some case.

Uploading Simulator Screen Shot - iPhone SE - 2018-04-28 at 17.30.14.png…

here i have one text field and text is not display .

Localizer.swift
/// Exchange the implementation of two methods of the same Class
func MethodSwizzleGivenClassName(cls: AnyClass, originalSelector: Selector, overrideSelector: Selector) {
    let origMethod: Method = class_getInstanceMethod(cls, originalSelector)!
    let overrideMethod: Method = class_getInstanceMethod(cls, overrideSelector)!
    if (class_addMethod(cls, originalSelector, method_getImplementation(overrideMethod), method_getTypeEncoding(overrideMethod))) {
        class_replaceMethod(cls, overrideSelector, method_getImplementation(origMethod), method_getTypeEncoding(origMethod))
    } else {
        //method_exchangeImplementations(origMethod, overrideMethod)
    }
}

after comment this method_exchangeImplementations line it is working fine . can you suggest alternative for this code ? or explain me what is the roll of this method ?

UILabel center

Thank you for this lib.
I have the following issue:
when activating following line of code
MethodSwizzleGivenClassName(cls: UILabel.self, originalSelector: #selector(UILabel.layoutSubviews), overrideSelector: #selector(UILabel.cstmlayoutSubviews))
from DoTheMagic method, then any label with .textAlignment = .center will lose its alignment, any help?

UIImage not showing..

I've downloaded Zip file and ran the project. At first i thought it is working properly but it has some issues like UIImage is not showing sometimes after changing language.Some UILabels are missing.

How to set the default language to Arabic in that

Hi,
I am Ashutos. I am having some doubts regarding my app is having both languages now I want to change my default language to Arabic, For now, it 1st time showing in English but how I can change that when somebody changes from setting then only it needs to change to English else not. Please help me to fix this issue thanks...

mistake in changing language

when the language is Persian and I change it to Persian again, the static labels(label that translated in storyboardName.string not in localizable.string) change to english. when I change it to Persian again, it changed to Persian.

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.