Comments (6)
@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.
@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.
@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.
@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.
@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.
@KrauseFx commented |
Thanks @jilouc! Moving further discussion to fastlane-old/snapshot#131 π
from fastlane.
Related Issues (20)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 3
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 5
- Match managing provisioning profiles for DriverKit HOT 1
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file HOT 1
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 14
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 2
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 12
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in Chinaβs ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device) HOT 1
- if and switch expressions Swift HOT 1
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 fastlane.