Code Monkey home page Code Monkey logo

languageswitcher's Issues

RTL layouts

Hello,
thanks for the example your provided.

I have this old problem, that I want to switch
the layout direction for RTL languages, e.g., Arabic.

simulator screen shot apr 25 2017 15 01 25

As you can see from the screenshot, the Arabic text is switched, but the direction remains the same.

locale swizzle doesn't work with decimal input

It appears that swizzle for NSLocale.current no longer fixes the decimal input problem as described in: http://aplus.rs/2017/in-app-language-change-in-ios-app/

You can see that keyboard view still shows the . but if you tap it, it will correctly enter ,. Hence it’s annoyance at best.

In iOS 13, simulator or device, tapping the "." always enters a ".", and the parsing logic fails.

Can verify this by checking out this repository and and following these steps:

  1. open the app
  2. make sure English is shown
  3. tap the text field so the keyboard appears (you can see the . shown as decimal separator)
  4. dismiss it
  5. switch to Serbian (which uses , as decimal separator
  6. tap the text field again

Selected language isn't retained

if you select a language and then close and run the app again, the previously selected language is not set as the default language.

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.