You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FirebaseSwiftUI/README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -798,6 +798,21 @@ struct ContentView: View {
798
798
}
799
799
```
800
800
801
+
### Customizing UI Strings
802
+
803
+
Override any UI string by creating a `Localizable.strings` (or `.xcstrings`) file in your app with custom values. Only include strings you want to change. Strings not changed will fallback to FirebaseAuthSwiftUI default strings.
804
+
805
+
```swift
806
+
// Localizable.strings
807
+
"Sign in with Firebase"="Welcome Back!";
808
+
809
+
// In your app configuration
810
+
let configuration =AuthConfiguration(customStringsBundle: .main)
811
+
```
812
+
813
+
See [example implementation](../../samples/swiftui/FirebaseSwiftUISample/FirebaseSwiftUISample) for a working demo.
0 commit comments