Hello all !
There is a service provided with Firebase (and all its awesomeness) that gives the possibility for an authenticated user to reset his password. But this service is taking only one text into account - the one defined on the dashboard.
Is it possible to get this in many languages ? I'm going to need this functionnality !
@Firebase Friends, since I think you will see this question - do you plan to add this in the future ? Or else give the possibility to pass a text as an argument to the function ?
Thanks ahead !
If you are using the standard Firebase email service you can currently have multilingual emails only if you use the standard template provided by Firebase. If you have a customised template you can reset it in the console. To send locale specific mails you should manually call the function to use the device language or set it with a string. These scenarios are provided as examples below:
firebase.auth().useDeviceLanguage(); // set with function
firebase.auth().languageCode = 'fr'; // set with string
auth.useAppLanguage(); // set with function
auth.setLanguageCode("fr"); // set with string
Auth.auth().useAppLanguage(); // set with function
Auth.auth().languageCode = "fr"; // set with string
The Google Groups mailing list has a nice discussion of these issues.
Another solution is to use custom email action handlers. The setup is more difficult but it is well documented in the Firebase documentation.