question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cruzachcommented, May 18, 2020

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

0reactions
tsapetacommented, Feb 27, 2020

@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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found