Localized strings ?
Hi there, Objective-C under iOS9, last Firebase SDK, last FirebaseUI version. I try to add French support. So I just copy/paste strings from the FirebaseAuthUI.strings in my own .strings files but it doesn't work.
I then try to add FirebaseAuthUI.strings in my project but not better.
I can't get it work.
Any idea ?
Anyway, thxs for the great job :)
Is this a real bug ?
This is a bug on the framework's side. Localization is something we'd like to do all at once, rather than one locale at a time.
Unfortunately I'm not sure when we'll get around to doing that.
Ok. I understood that we can override strings file in our app project… Can I help in something (i’m french so I can at least produce the french file :))
Le 16 août 2016 à 19:12, Morgan Chen [email protected] a écrit :
This is a bug on the framework's side. Localization is something we'd like to do all at once, rather than one locale at a time.
Unfortunately I'm not sure when we'll get around to doing that.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/firebase/FirebaseUI-iOS/issues/110#issuecomment-240170840, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJZOpXOO4SWHECSNMajkDgH0FkuOS4tks5qge91gaJpZM4JgiRa.
I think if you set the custom bundle like this, you should be able to use your own translations.
authUI.customStringsBundle = [NSBundle mainBundle];
You’re right, It works :) Thxs !
Le 16 août 2016 à 23:02, Chao Wei [email protected] a écrit :
I think if you set the custom bundle like this, you should be able to use your own translations. authUI.customStringsBundle = [NSBundle mainBundle];
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/firebase/FirebaseUI-iOS/issues/110#issuecomment-240237845, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJZOiSpI0AYfHjnSgrOnRF5GX4y-z_iks5qgiVqgaJpZM4JgiRa.
Great! Thanks for the quick verification.
For anyone running into the same issue, this is documented at https://github.com/firebase/FirebaseUI-iOS/tree/master/FirebaseUI/Auth#custom-strings
Hi, like LeChatNoir69 I try to add french to my project.
I'am kind of lost, can I accomplish this using Podfile or should I do a manual install of FirebaseAuthUI in my project?
I already added in my appdelegate this lines:
FUIAuth *authUI = [FUIAuth defaultAuthUI];
authUI.customStringsBundle = [NSBundle mainBundle];
And I also added in my folder String: ->en.lproj->FirebaseAuthUI.strings ->fr.lproj->FirebaseAuthUI.strings
But I can't see any change in the UI. I'm not sure how to proceed. Any clues?
You just have to define theses strings files in your project : FirebaseAuthUI.strings FirebaseFacebookAuthUI.strings FirebaseGoogleAuthUI.strings
Just look at theses files in the project and you'll find all keys too translate.
@LeChatNoir69 , @jrbecart it is not as easy as it sounds. I have been trying to do this for a while now without any success. Check this question from 4-5 months ago here: https://github.com/firebase/FirebaseUI-iOS/issues/125
If, however, there has been an update on this and now it works, please let me know. Cheers.
@LeChatNoir69 It works!!!
I added this missing files: FirebaseFacebookAuthUI.strings FirebaseGoogleAuthUI.strings and Twitter
Thanks!