[AppleAuthentication] How to translate / change AppleAuthenticationButton Text?
See original GitHub issue🐛 Bug Report
Hello guys! I’m here to understand if there is a way to change the label of the AppleAuthentication.AppleAuthenticationButton . I need to translate it to Italian but i don’t know how.
Thanks in advance!
Environment
Expo CLI 3.13.1 environment info: System: OS: macOS 10.15 Shell: 5.7.1 - /bin/zsh Binaries: Node: 10.15.1 - /usr/local/bin/node Yarn: 1.13.0 - /usr/local/bin/yarn npm: 6.9.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman IDEs: Xcode: 11.2/11B52 - /usr/bin/xcodebuild npmGlobalPackages: expo-cli: 3.13.1
iOS is the target
Steps to Reproduce
Using AppleAuthentication.AppleAuthenticationButton
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Translate text in apps on iPhone - Apple Support
Translate text in apps · Select the text you want to translate, then tap Translate. If you don't see Translate, tap the Show...
Read more >AppleAuthentication - Expo Documentation
An enum whose values control which pre-defined text to use when rendering an AppleAuthenticationButton . SIGN_IN. AppleAuthenticationButtonType.SIGN_IN = 0. " ...
Read more >src/containers/SideMenu/Account.jsx ... - GitLab
Quickly and easily edit multiple files in your project. ... Edit this file only.
Read more >iOS 16: How to Translate Text in the Camera App - MacRumors
Point the camera at some text you want to translate so that it's centered ... There are also options to Copy Translation, Change...
Read more >expo-apple-authentication - npm
A unimodule that provides SignIn With Apple. Latest version: 5.0.1, last published: 2 months ago. Start using expo-apple-authentication in ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can add “CFBundleAllowMixedLocalizations”: true to your infoPlist property in app.json - see https://docs.expo.io/workflow/configuration/#ios
once you add this you will need to rebuild the standalone app
@Derewith Unfortunately no, this button is provided by native iOS framework and as far as we can tell there is no other way to change this text yet - the only way we know about is as @cruzach said, by changing app language in Xcode but you can set only one language there and it doesn’t give you full customization. For now I think this issue should be closed, but we’re open to add such functionality once Apple makes it possible (hopefully they will do this soon).