Giter Club home page Giter Club logo

Comments (6)

fastlanebot avatar fastlanebot commented on May 4, 2024
@KrauseFx commented

Well, actually it passes the language when running the tests runner.rb:132 not when building the app.

I don't know if there is a way to pass the used locale when running the script.

from fastlane.

fastlanebot avatar fastlanebot commented on May 4, 2024
@rrichter commented

This could be a bug in XCode 6.1 https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html

Localization and Keyboard settings (including 3rd party keyboards) are not correctly honored by Safari, Maps, and developer apps in the iOS 8.1 Simulator. 
[NSLocale currentLocale] returns en_US and only the English and Emoji keyboards are available. (18418630, 18512161)

from fastlane.

fastlanebot avatar fastlanebot commented on May 4, 2024
@paulheyer commented

This is actually a bug in Xcode which can be bypassed by setting the application language in project's build schemes: Workaround on Stackoverflow
Not sure if this can be handled by snapshot.

from fastlane.

fastlanebot avatar fastlanebot commented on May 4, 2024
@jilouc commented

The locale can be passed as a launch argument the same way the language is, using the AppleLocale argument, e.g.:

-AppleLocale en_GB

But there is an another issue with these parameters: the iTunes Connect language code used for screenshots and app description, changelog etc. is not necessarily the same as the one passed to AppleLanguages.
For simplified Chinese, with a Chinese locale:

  • -AppleLanguages (zh-Hans)
  • -AppleLocale zh-Hans_CN
  • iTunes Connect language: cmn-Hans

from fastlane.

fastlanebot avatar fastlanebot commented on May 4, 2024
@jilouc commented

Well it seems that I was partly wrong in my previous comment. You can use the iTunes Connect language id for the AppleLanguages and AppleLocale arguments.

But we definitely need the ability to specify a custom locale id in some cases (see #131).

from fastlane.

fastlanebot avatar fastlanebot commented on May 4, 2024
@KrauseFx commented

Thanks @jilouc! Moving further discussion to fastlane-old/snapshot#131 πŸ‘

from fastlane.

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.