Languages support on email templates

5,347 views
Skip to first unread message

Rene McCaine

unread,
May 26, 2016, 8:29:39 PM5/26/16
to Firebase Google Group
Are there languages support for email templates in ver 3.x? if not what is the suggested workaround to support multiple languages on pasword reset etc?

Alfonso Gomez Jordana Manas

unread,
May 27, 2016, 9:42:32 PM5/27/16
to Firebase Google Group
Hello Rene,

That feature is not currently available, but I will be sharing your request to the team. 

If such a feature was available, how would you imagine it would work? Would you prefer for us to have fixed templates translated to all languages, or would you like to manually customize yourself the templates of all the languages you'd like to support?

Mi Ni

unread,
May 28, 2016, 11:49:24 AM5/28/16
to Firebase Google Group
wishes:

1) already translated templates
2) should be editable for each language/template
3) App Name should also i18n

idea: templates in Firebase
4) mail templates should be importable/viewable and editable in a new root in i18n
5) i should also use my own structure, if i have an already yaml for i18n rails or if i like to use a translation service
6) then i easy should add the path to the template as magic field: %Path(/myapp/i18n/$language/mailtemplates/sendconfirmation)%    

Laurent Bendel

unread,
Oct 15, 2016, 2:46:21 PM10/15/16
to Firebase Google Group
Hi Alfonso,
can you keep us posted on this one ? As far as I'm concerned, I would see a very simple setup where templates for different languages are pre-cooked (as a first step). You then call:

sendPasswordReset(withEmail: email, language:"fr")


merci,
Laurent

Krzysztof Balana

unread,
Oct 30, 2016, 10:49:35 AM10/30/16
to Firebase Google Group
Hi!

Is there any update on actual status? Is it going to happen? :) I'm struggling with multilangual app too and need (like badly) to have possibility to switch emails notifications language ;) 

Cheers!

Jacob Wenger

unread,
Oct 30, 2016, 8:07:45 PM10/30/16
to fireba...@googlegroups.com
No updates at the moment. It is still on our long-term roadmap, but we don't have any release dates to share.

Cheers,
Jacob

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/36864bc9-d4e2-4428-be03-530bfbb3e686%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Thibault Jan Beyer

unread,
Nov 10, 2016, 4:30:54 PM11/10/16
to Firebase Google Group
+1 for internationalization of emails.
That is very important for user experience.

Already translated templates would be already awesome.
Full customization is just sugar (a nice to have)

thank you!


On Monday, 31 October 2016 01:07:45 UTC+1, Jacob Wenger wrote:
No updates at the moment. It is still on our long-term roadmap, but we don't have any release dates to share.

Cheers,
Jacob
On Sun, Oct 30, 2016 at 1:10 AM, Krzysztof Balana <krzyszto...@gmail.com> wrote:
Hi!

Is there any update on actual status? Is it going to happen? :) I'm struggling with multilangual app too and need (like badly) to have possibility to switch emails notifications language ;) 

Cheers!

W dniu sobota, 28 maja 2016 03:42:32 UTC+2 użytkownik Alfonso Gomez Jordana Manas napisał:
Hello Rene,

That feature is not currently available, but I will be sharing your request to the team. 

If such a feature was available, how would you imagine it would work? Would you prefer for us to have fixed templates translated to all languages, or would you like to manually customize yourself the templates of all the languages you'd like to support?

On Thursday, May 26, 2016 at 5:29:39 PM UTC-7, Rene McCaine wrote:
Are there languages support for email templates in ver 3.x? if not what is the suggested workaround to support multiple languages on pasword reset etc?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Peter Burian

unread,
Nov 28, 2016, 2:15:28 PM11/28/16
to Firebase Google Group
As Thibault Jan Beyer said, for some countries, this is very important for user experience. In my country can speak a lot of people in English but because of a lot of my clients can be older, so internationalization is very important and this is the main issue of choosing for Firebase. 

So, I have a question. Can be e-mail verify template edited manually to my language by e-mail request (with specific text) to support mail? (for now, of course).

Best regards,
Peter Burian.

Dňa pondelok, 31. októbra 2016 1:07:45 UTC+1 Jacob Wenger napísal(-a):
No updates at the moment. It is still on our long-term roadmap, but we don't have any release dates to share.

Cheers,
Jacob
On Sun, Oct 30, 2016 at 1:10 AM, Krzysztof Balana <krzyszto...@gmail.com> wrote:
Hi!

Is there any update on actual status? Is it going to happen? :) I'm struggling with multilangual app too and need (like badly) to have possibility to switch emails notifications language ;) 

Cheers!

W dniu sobota, 28 maja 2016 03:42:32 UTC+2 użytkownik Alfonso Gomez Jordana Manas napisał:
Hello Rene,

That feature is not currently available, but I will be sharing your request to the team. 

If such a feature was available, how would you imagine it would work? Would you prefer for us to have fixed templates translated to all languages, or would you like to manually customize yourself the templates of all the languages you'd like to support?

On Thursday, May 26, 2016 at 5:29:39 PM UTC-7, Rene McCaine wrote:
Are there languages support for email templates in ver 3.x? if not what is the suggested workaround to support multiple languages on pasword reset etc?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Tomas Larsen

unread,
Jan 2, 2017, 11:10:19 AM1/2/17
to Firebase Google Group
I would also like to localise my user experience.  I was surprised and dismayed that the template can't be edited fully.

At least open up for editing the templates - possibly with some sort of verification that they contain the placeholders that are required.

I really like firebase, but publishing an app that in some areas uses another language comes across as unprofessional and could mean choosing a service other than firebase for the Auth part in future releases.

Peter Burian

unread,
Jan 2, 2017, 11:21:28 AM1/2/17
to Firebase Google Group
I "resolve" this by using custom tokens (signInWithCustomToken) and all this operations like verifying e-mail, etc., i use my own API.
So I have my users with bcrypted passwords in my own database out of firebase, my emails and notifications is sending from my own mail server, but I use firebase authentication js api and Database.
I think that this is good and simple alternative.

Dňa pondelok, 2. januára 2017 17:10:19 UTC+1 Tomas Larsen napísal(-a):

bikerapps dev

unread,
Jan 22, 2017, 7:32:19 AM1/22/17
to Firebase Google Group
+1 for internationalization of emails.

We would also need this feature. Acutally that's why we choosed firebase for authentication to get rid of handling these things.

Any updates so far?

Kato Richardson

unread,
Jan 24, 2017, 11:44:48 AM1/24/17
to Firebase Google Group
No ballparks or public release dates we can share. Sorry.

We have discussed this internally on several occasions and the best thing you can do to help this process along is to include a detailed use case of your needs and an overview of how you would envision this working. That sort of feedback will go a long way to making sure we're informed and choose the right path forward.

☼, Kato

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Hans Vanderstraeten

unread,
Jan 26, 2017, 9:11:48 AM1/26/17
to Firebase Google Group
Well..

We want to build a new website for a client in Belgium (Dutch speaking part). All the communication coming from this client is in Dutch. We want to integrate the authentication part (register via Facebook & via mail) but we cannot send an email in English when a user signs up on the new website. I understand you want to provide a fixed text (the spam argument), but maybe some option to set a project language? In this way we can set the project to Dutch and Firebase wil send a confirmation mail in Dutch.

h a n s

Op dinsdag 24 januari 2017 17:44:48 UTC+1 schreef Kato Richardson:
No ballparks or public release dates we can share. Sorry.

We have discussed this internally on several occasions and the best thing you can do to help this process along is to include a detailed use case of your needs and an overview of how you would envision this working. That sort of feedback will go a long way to making sure we're informed and choose the right path forward.

☼, Kato
On Sun, Jan 22, 2017 at 4:38 AM, bikerapps dev <dev.bi...@gmail.com> wrote:
+1 for internationalization of emails.

We would also need this feature. Acutally that's why we choosed firebase for authentication to get rid of handling these things.

Any updates so far?


Am Freitag, 27. Mai 2016 02:29:39 UTC+2 schrieb Rene McCaine:
Are there languages support for email templates in ver 3.x? if not what is the suggested workaround to support multiple languages on pasword reset etc?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Kato Richardson

unread,
Jan 27, 2017, 2:13:53 PM1/27/17
to Firebase Google Group
Thanks, Hans! That's great feedback and we've heard similar use cases before. Really appreciate the input and have shared internally.

☼, Kato

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Aapro Laurent

unread,
Jan 31, 2017, 8:38:07 PM1/31/17
to Firebase Google Group
In the spirit of sharing more use cases, here's mine and that any other app developer in Switzerland: ideally we need to support three national languages plus english, and remember each user's preference (hopefully correctly detected from device/browser variables, or switched by user as last resort).

For heavily local businesses, it is crucial that especially the initial steps are available in the preferred language of the user, or risk losing her/him to a competitor.
While this holds true for us at the national level, it is also the fate of any app that has any international ambition in Europe or anywhere else around the globe.

As much as I would love to have control over individual message contents, I understand the SPAM argument all too well, so having access to "hard-coded" versions in all languages would already be a huge leap forward in our daily fight for better UX. It would also respect the principle of simplicity that draws many devs to your authentication service, while allowing them to offer a completely and seamlessy localized experience to the app users (and avoid ending up in the spam filter at the same time).

I really appreciate your involvement with the community and wish this feedback will help you bring us a completely i18able product very soon.

Best regards,
Laurent

Wonsuc Yoo

unread,
Feb 15, 2017, 10:55:23 AM2/15/17
to Firebase Google Group
Our some clients complain about choosing Firebase server with this email template issue.

I know there would be many flexible options to upgrade this issue. But I think simply providing international formatted templates is enough. More advanced option can be considered in the future, but I hope Firebase team to just providing simple language option asap.

In my case, I use manual way via another own server to verify email address. It is kinda important UX in non-english language countries.

2017년 1월 28일 토요일 오전 4시 13분 53초 UTC+9, Kato Richardson 님의 말:

Rodrigo Quesada

unread,
Feb 19, 2017, 11:19:37 AM2/19/17
to Firebase Google Group
Any update on this matter? I think that at the very least, being able to choose a different language for the verification template, is a must-have for your product to even be considered by many startups/companies outside the U.S.

Jefferson Monteiro

unread,
Mar 14, 2017, 10:55:20 AM3/14/17
to Firebase Google Group
This is really an adoption blocker for countries that the native language is not english, please provide a solution for this issue.

pdo...@gmail.com

unread,
Mar 25, 2017, 10:55:42 AM3/25/17
to Firebase Google Group
Hi Kato,
sorry but I really can't understand your request. Use case is already crystal clear, all us need to have the email templates available, possibly, in any language. 

Thanks for your great work.

Besta regards,
Fabio


Il giorno martedì 24 gennaio 2017 17:44:48 UTC+1, Kato Richardson ha scritto:
No ballparks or public release dates we can share. Sorry.

We have discussed this internally on several occasions and the best thing you can do to help this process along is to include a detailed use case of your needs and an overview of how you would envision this working. That sort of feedback will go a long way to making sure we're informed and choose the right path forward.

☼, Kato
On Sun, Jan 22, 2017 at 4:38 AM, bikerapps dev <dev.bi...@gmail.com> wrote:
+1 for internationalization of emails.

We would also need this feature. Acutally that's why we choosed firebase for authentication to get rid of handling these things.

Any updates so far?


Am Freitag, 27. Mai 2016 02:29:39 UTC+2 schrieb Rene McCaine:
Are there languages support for email templates in ver 3.x? if not what is the suggested workaround to support multiple languages on pasword reset etc?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Wonsuc Yoo

unread,
Mar 25, 2017, 12:53:22 PM3/25/17
to Firebase Google Group
Ok, now "Cloud Functions" has released on Firebase. Can we resolve it with "Cloud Functions"?

Josep Sayol

unread,
Apr 7, 2017, 9:54:46 AM4/7/17
to Firebase Google Group
Hi there!

I find myself needing this feature too, so I was wondering if there's been any progress.

My use case is quite simple: we're about to release an app and it will be used in a region with 2 official languages, which the app will support. Every text in the app is localized to the device's selected language. Right now the only option is to create the email templates in one of those languages, but users whose main language is not that one will not be very happy about it.

Here's how I see a possible solution working: for each email type (verification, password reset, etc) the console could allow creating several templatesone for each desired language, allowingor rather, requiringthe user to select a default language for that template. Maybe even project-wise, to keep things simple.

When triggering any of this emails from the SDK, an additional optional parameter could be provided specifying the language to be used. If no language is specified, or if the specified language doesn't exists for that particular template type, then the default one would be used. This setup would allow to keep the way it currently works without introducing any breaking changes, since each template would have English (en-US) as a predefined and default language. Or whatever is the default when creating the project.

Feel free to request any clarifications if needed.

Cheer,

Josep

Josep Sayol

unread,
Apr 7, 2017, 10:50:32 AM4/7/17
to fireba...@googlegroups.com
Right after sending the previous message I realized the verification email template cannot be edited and it's fixed to English, which means we cannot use it. So I ended up implementing my own verification system using Cloud Functions.

Just two comments:
  1. Thanks again for Functions, it's incredibly flexible and opened a whole world of possibilities.
  2. This is a common enough use-case that it really should be offered directly from the console. I don't think it's realistic to expect everyone to implement their own email verification system simply because their app is not in English.
I understand the reason behind preventing editing that template in question, so maybe Firebase could offer a whole array of pre-made translations for it and then allow users to write their own translations for the other templates. Everything else could work like I explained earlier.

Cheers,

Josep

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/WOa_MpxFETU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Jacob Wenger

unread,
Apr 7, 2017, 1:57:53 PM4/7/17
to fireba...@googlegroups.com
Thanks for the details and well laid out feature request Josep! I can't share any release dates, but we definitely have made progress on this and have had several discussions about it. I've forwarded your email on to the auth team. We know this is a major pain point and we are working to resolve it. I'm glad you've figured out a workaround via Cloud Functions in the meantime!

Cheers,
Jacob

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

João Carvalho

unread,
Apr 18, 2017, 9:39:38 AM4/18/17
to Firebase Google Group
Hi,

This should be considered basic functionality... since most of the world doesn't speak english at all. I built my app using Firebase just to find out in the end I can't even translate the confirmation email. This is bad, really bad. At least Google should allow the confirmation email to be customised while the translation issue is fixed.  Please consider this issue a top priority. 

Thanks.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

David Neubauer

unread,
Apr 20, 2017, 9:51:22 AM4/20/17
to Firebase Google Group
I'm also looking forward to have this feature supported by firebase. Just started setting up my first professional firebase app and stumbled over that missing part in the first minutes. Makes me nervous if there might be any other crucial features missing. Just deactivated E-Mail Login for now, which is not a long term solution. Probably I will also end up using cloud functions later on.

I would appreciate a high priority on that one. Thank you very much.

Yatima Kagurazaka

unread,
May 6, 2017, 8:50:54 PM5/6/17
to Firebase Google Group
Most Japanese feel uncomfortable to read English sentence... 
Please consider this issue a top priority...

(In the first place, he/she who want to send spam mail use password reset template.)
(I think it's senseless to allow editing password reset template but forbid editing verifying email / changing email template.)

jo...@mimoai.com

unread,
May 19, 2017, 5:39:37 PM5/19/17
to Firebase Google Group
100% agree with the last comments in this topic.
Most of the app are multilingual and the translated template in Auth system are absolutely needed to develop a real app in the real world.

Please... develop it !   ;-)

Ian Barber

unread,
May 19, 2017, 5:47:57 PM5/19/17
to Firebase Google Group
Hi all, 

We do have this feature now (as of Wednesday) for several languages! If you visit Authentication > Templates you can customise templates for several languages, including Japanese. 

Hope that helps!

Ian

 



--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Josep Sayol

unread,
May 19, 2017, 6:06:21 PM5/19/17
to fireba...@googlegroups.com
That's great! Thanks for the heads up, Ian :)

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/WOa_MpxFETU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

jo...@mimoai.com

unread,
May 19, 2017, 11:43:18 PM5/19/17
to Firebase Google Group
Hi Ian,

The multilingual feature you mentioned is just for email templates.
But we also need translation for the forms (Ex: Reset password form) or error messages (Ej: This operation is sensitive and requires recent authentication.)

Any news about it ?


On Friday, May 19, 2017 at 11:47:57 PM UTC+2, Ian Barber wrote:
Hi all, 

We do have this feature now (as of Wednesday) for several languages! If you visit Authentication > Templates you can customise templates for several languages, including Japanese. 

Hope that helps!

Ian

 


On Fri, May 19, 2017 at 1:53 PM, <jo...@mimoai.com> wrote:
100% agree with the last comments in this topic.
Most of the app are multilingual and the translated template in Auth system are absolutely needed to develop a real app in the real world.

Please... develop it !   ;-)


On Friday, May 27, 2016 at 2:29:39 AM UTC+2, Rene McCaine wrote:
Are there languages support for email templates in ver 3.x? if not what is the suggested workaround to support multiple languages on pasword reset etc?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Wonsuc Yoo

unread,
May 20, 2017, 12:15:43 AM5/20/17
to Firebase Google Group
Wow. Finally. Thank you Firebase team.

Aurélien Pelletier

unread,
May 22, 2017, 10:25:58 AM5/22/17
to Firebase Google Group
This is great news !

We are in the process of evaluating firebase authentication for our applications and validation email only in english was a blocker.
But this evolution does not totally address the issue for multilingual application (and they are quite common).

The language should not be an attribute of the project (We can choose the language but all emails are in the same language for all users) but an attribute of the user who signed-up.

Any possibility to change the language by user before sending the emails ?

That would solve our last issue to use firebase as a central piece for authentication.

Thanks,

Aurélien

 

On Friday, May 19, 2017 at 11:47:57 PM UTC+2, Ian Barber wrote:
Hi all, 

We do have this feature now (as of Wednesday) for several languages! If you visit Authentication > Templates you can customise templates for several languages, including Japanese. 

Hope that helps!

Ian

 


On Fri, May 19, 2017 at 1:53 PM, <jo...@mimoai.com> wrote:
100% agree with the last comments in this topic.
Most of the app are multilingual and the translated template in Auth system are absolutely needed to develop a real app in the real world.

Please... develop it !   ;-)


On Friday, May 27, 2016 at 2:29:39 AM UTC+2, Rene McCaine wrote:
Are there languages support for email templates in ver 3.x? if not what is the suggested workaround to support multiple languages on pasword reset etc?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Kato Richardson

unread,
May 24, 2017, 3:40:35 PM5/24/17
to Firebase Google Group
Hello Aurélien,

Great feedback! While the current functionality solves a good percentage of use cases, dynamically picking a template based on the suer is definitely something that would be nice to address. 

Out of curiosity, considering that neither OAuth providers nor email/password auth provide language data about users, how would you intuitively expect this to work out across web and native? Specifically, where would you expect Firebase to determine the language attributes?

For now, if you want to send a separate language based on something in the user profile (such as data stored in the RTDB), you might want to try doing this via Cloud Functions and a third party service like SendGrid.

☼, Kato



To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Josep Sayol

unread,
May 24, 2017, 4:03:27 PM5/24/17
to fireba...@googlegroups.com
Hi Kato,

Just chiming in since I would also like to see this happening. Although the recent change is already very useful for non-English apps, having the possibility of choosing a different language for each user would be ideal.

I think a while ago I mentioned a possible way to solve this which basically would involve adding an extra parameter to the relevant API methods that trigger an email, like sendEmailVerification, sendPasswordResetEmail, etc. If no language is specified it could fall back to whatever the default is, ensuring the current behavior is not affected in any way.

In short, instead of doing user.sendEmailVerification().then(...) we could do user.sendEmailVerification('es').then(...) and that would trigger sending that email in Spanish instead of English.

Another option would be to add an extra property to the user profile specifying the preferred language for that user, which would then be used automatically when sending the emails.

So if we do something like user.updateProfile({language: 'ru'}) and then at a later point we trigger user.sendPasswordResetEmail(), the password reset email would be sent in Russian for that user.

Just my 2 cents, hope that helps :)

Cheers,
Josep



--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/WOa_MpxFETU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Kato Richardson

unread,
May 25, 2017, 1:36:08 PM5/25/17
to Firebase Google Group
Hi Josep,

I remember seeing some of your feedback on this elsewhere. Thanks for adding it and some additional detail here. Great ideas that make a good deal of sense to me. Passed on to the auth team, who has been hard at work on finding a good answer to this.

☼, Kato


For more options, visit https://groups.google.com/d/optout.

Aurélien Pelletier

unread,
May 26, 2017, 11:04:19 AM5/26/17
to Firebase Google Group
Hello Kato,

I think the language should be defined from the page where the user start the sign-up profile and stored in a user profile. 
On mobile the system language is probably a good guess for the language since it is the first thing you configure when you get a new mobile phone and it is a personal device.
On the web the language of the browser is not always the language of the user, so before sign-up the user has the option to switch language and is redirected to a new page or has the language set in some cookie. So we need an option in the API to be able to set the language at sign-up.

my 2 cents !

Aurélien 



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/WOa_MpxFETU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

anon

unread,
Jun 19, 2017, 10:52:19 AM6/19/17
to Firebase Google Group
Hi there,

Sorry to chase but is there any update on this at all? Any idea when it can be possibly released?
We're working on an app that's got 5 languages and it will be rather annoying if we have to implement something custom, just to handle silly password reset emails.

Thanks
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

João Carvalho

unread,
Jun 22, 2017, 4:47:01 PM6/22/17
to Firebase Google Group
This is great! It would be perfect if you allow language selection at runtime. Most apps are multi-language.

And please add support for Portuguese (Portugal). It's not so hard:

Email address verification
Verifique o seu e-mail da app XYZ
Message
Olá, %DISPLAY_NAME%
Clique neste link para verificar o seu endereço de e-mail.

Se não solicitou a verificação deste endereço, ignore este e-mail. Obrigado,
Equipa da app XYZ


Password reset
Redefinir a senha da app XYZ
Message
Olá,
Clique neste link para redefinir a senha de login na app XYZ com sua conta %EMAIL%.
Se não solicitou a redefinição da sua senha, ignore este e-mail. Obrigado,
Equipa da app XYZ

Email address change
O seu e-mail de login na app XYZ foi alterado
Message
Olá, %DISPLAY_NAME%
O seu e-mail de login na app XYZ foi alterado para %NEW_EMAIL%.
Se não solicitou a alteração do seu e-mail de login, clique neste link para redefini-lo.
Obrigado,
Equipa da app XYZ

SMS verification
%LOGIN_CODE% é o seu código de verificação.


João Carvalho

unread,
Jun 30, 2017, 12:32:44 PM6/30/17
to Firebase Google Group
Hi, anything on this? Please add support for Portuguese (Portugal). I'm from Portugal and we're about to launch a new product using Firebase. I've posted the Portuguese (Portugal) texts above. They are based on the Brazilian version, but there are a few differences that make a difference. Thank you.

Matt Tipping

unread,
Jul 14, 2017, 10:22:17 AM7/14/17
to Firebase Google Group
Hi Kato,

Is there any update on the functionality to pass a locality to the email function? We are in the process of developing a global website with around 20 localities and Firebase is working amazingly so far other than the email not being localized.

Thanks,
Matt Tipping
Lead Web Developer
Synergy WorldWide



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/WOa_MpxFETU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

twinkle...@gmail.com

unread,
Aug 14, 2017, 10:28:40 AM8/14/17
to Firebase Google Group
Good thing I searched for a thread on this, it's already here! About language selection for email/password support emails. For mobile SDK's surely the SDK could detect the locale and send that to the endpoints?

伴ルカ

unread,
Oct 4, 2017, 12:25:05 AM10/4/17
to Firebase Google Group
Dear Community,

How can I set up different languages for different users?
When they register I want to send a language variable together with the credentials, and based on that return an email in the correct language.

Bassam

unread,
Oct 4, 2017, 5:04:12 PM10/4/17
to Firebase Google Group
Hey there,
You can specify the languageCode from the client. Here is an example with password reset:


Best regards,
Bassam

伴ルカ

unread,
Oct 5, 2017, 12:35:53 AM10/5/17
to Firebase Google Group
Dear Bassam,

This didn't work for me. I'm still getting the emails in English.

Here's my code:
```
let auth = firebase.auth();
auth.languageCode = 'ja';
let user = auth.currentUser;
auth.sendPasswordResetEmail(user.email)
.then(res => {
console.log(res);
}).catch(error => {
console.log(error);
});
```

2017年10月5日木曜日 6時04分12秒 UTC+9 Bassam:

Bassam

unread,
Oct 5, 2017, 1:00:33 AM10/5/17
to Firebase Google Group
I just tested and I was able to get the email sent in Japanese.
I suspect you are using an old version of our SDK.
Try upgrading to the latest one.

Bassam

伴ルカ

unread,
Oct 5, 2017, 11:17:34 AM10/5/17
to Firebase Google Group
Dear Bassam, I just tried and now it worked. I'm not sure why it didn't work before.
Thanks anyway!

2017年10月5日木曜日 14時00分33秒 UTC+9 Bassam:

ivan....@gmail.com

unread,
Oct 5, 2017, 1:29:48 PM10/5/17
to Firebase Google Group
Hi Bassam, do you know if this work for an android client? Because this is web and I don´t found examples or something about languageCode in android sdk. Thanks.

Malcolm Deck

unread,
Oct 5, 2017, 2:23:07 PM10/5/17
to Firebase Google Group
Ivan,


Here's an example, similar to the Web one:

FirebaseAuth auth = FirebaseAuth.getInstance();
auth.setLanguageCode("ja");
FirebaseUser user = auth.getCurrentUser();
user..sendPasswordResetEmail(user.getEmail()).addOnSuccessListener(
    new OnSuccessListener<Void> () {
         @Override
         public void onSuccess(Void void) {
             //do something on successs
         }
    }).addOnFailureListener(
    new OnFailureListener() {
         @Overrride
         public void onFailure(@NonNull Exception e) {
              //do something on failure
         }
    }

Hope that helps!

~Malcolm

ivan....@gmail.com

unread,
Oct 5, 2017, 5:00:00 PM10/5/17
to Firebase Google Group
Oh, I see, is a new feature from SDK Version 11.4.0 - September 18, 2017. I wil try, thank you.

clement....@thiga.fr

unread,
Oct 23, 2017, 10:54:59 AM10/23/17
to Firebase Google Group
Hi Malcolm, tt is not possible to have a custom template with multi-language support, correct? Right now if I want to send a password reset email in the user's language, I have to send the default template. Thanks for your help, Clément

Bassam

unread,
Oct 23, 2017, 1:42:41 PM10/23/17
to Firebase Google Group
Hey Clément, it is not possible to internationalize customized email templates.

Best regards,
Bassam

twinkle...@gmail.com

unread,
Nov 8, 2017, 2:37:00 PM11/8/17
to Firebase Google Group
Does the mobile SDK have a method to instruct it to use the device's language settings to identify the preferred language? If not, do you have an example of getting the language code on Android and feeding it to FirebaseAuth?

Bassam

unread,
Nov 8, 2017, 3:59:09 PM11/8/17
to Firebase Google Group
You can use the device language in android by calling `auth.useAppLanguage()`

Bassam

IQCalc calorie calculator

unread,
Dec 19, 2017, 9:57:09 AM12/19/17
to Firebase Google Group
Unfortunately, trick with auth.setLanguageCode doesn't work for me from android app.
Firebase sends confirmation in the language that is selected in Authentication console (template language). That works for 100%, but any attempts to change that language via setLanguageCode("ru") or setLanguageCode("jp").
Version of lib is the latest one - 11.6.2

Thanks,
Ilia

среда, 8 ноября 2017 г., 23:59:09 UTC+3 пользователь Bassam написал:

Bassam

unread,
Dec 19, 2017, 1:35:08 PM12/19/17
to Firebase Google Group
Hey Ilia,
I just tested this. The client side locale should always override the Firebase template locale. I tested that with the password reset flow and it worked as expected. What flow are you testing so I can try to replicate it?

Best regards,
Bassam

Malcolm Deck

unread,
Dec 19, 2017, 2:51:52 PM12/19/17
to Firebase Google Group
Hey Ilia,

I've tested on Android and I'm unable to reproduce your issue. As Bassam has asked, please give us the specifics of the code flow that you are using so that we can see if there's something wrong with a special case of the Android SDK or backend logic.

Thanks!
~Malcolm 

IQCalc calorie calculator

unread,
Dec 19, 2017, 7:51:05 PM12/19/17
to Firebase Google Group
I did some extra testing and implemented password reset flow. It works! It sends me reset email in Spanish!
But the problem that the same code implemented for sign-in doesn't work as expected. I've tested it once again now.

Thanks,
Ilia

вторник, 19 декабря 2017 г., 22:51:52 UTC+3 пользователь Malcolm Deck написал:

IQCalc calorie calculator

unread,
Dec 19, 2017, 7:51:05 PM12/19/17
to Firebase Google Group
Hi Malcolm, Bassam!

My test case is pretty simple: I just send confirmation email right upon user sign-up via email and password:
// Link anonymous user with email credential.
val credential = EmailAuthProvider.getCredential(email, password)
val task = firebaseUser.linkWithCredential(credential)
result = Tasks.await(task) != null

// Ask user to verify his email.
firebaseAuth.setLanguageCode("es") // This is for testing. Looks like doesn't work for now :(
firebaseAuth.currentUser?.sendEmailVerification()

So here are the steps:
1. Link anonymous user with email and password.
2. Specify desired language code (I tried several ones)
3. Send verification email.
The message sent is always in the language that is selected in firebase auth console. I've tried English, Romanian, Russian and Spanish :)

The only thing that could be the case of the problem - at the very beginning of my development I've tested custom email messages (at that moment there was an opportunity to change email template). Maybe I've saved some templates for English and Russian language (I don't recall for sure). But now they look pretty standard, as well as others in other languages. Could this be a problem for an algorithm that selects what message (what language) to send?

Thanks a lot in advance,
Ilia

вторник, 19 декабря 2017 г., 22:51:52 UTC+3 пользователь Malcolm Deck написал:
Hey Ilia,

Bassam

unread,
Dec 19, 2017, 8:04:48 PM12/19/17
to Firebase Google Group
If you are using custom email templates, they will not get localized.

Bassam

IQCalc calorie calculator

unread,
Dec 23, 2017, 10:56:51 AM12/23/17
to Firebase Google Group
What I did right now:
 - modified confirmation email subject.
 - in appeared message selected "revert template to default"
 - tested once again.

Confirmation email message is in selected language anyways, while recovery password email takes into account  current language (firebaseAuth.useAppLanguage())

I have no idea on what to do next.
Guys, please help.

With best wishes,
Ilia

среда, 20 декабря 2017 г., 4:04:48 UTC+3 пользователь Bassam написал:

IQCalc calorie calculator

unread,
Dec 23, 2017, 10:56:51 AM12/23/17
to Firebase Google Group
Hi Bassam!

I saw the restriction about custom email templates, but:
1. Template for confirmation message is now blocked, so I have no chance to edit it. I assume it is default now (looks like default)
2. All I can change is:
 - Subject (now it is "Verify your email for %APP_NAME%")
 - Sender address (now it is "noreply")
That's it. Please suggest what can I do to revert to default email template. For now it looks like default one, but it doesn't work :(

Thanks,
Ilia

среда, 20 декабря 2017 г., 4:04:48 UTC+3 пользователь Bassam написал:
If you are using custom email templates, they will not get localized.

Yanna Wu

unread,
Dec 27, 2017, 7:03:13 PM12/27/17
to Firebase Google Group
You should be able to reset in the same page if the template is modified. Below is a screenshot for the UI
resetui.png

IQCalc calorie calculator

unread,
Dec 29, 2017, 10:57:10 AM12/29/17
to Firebase Google Group
Yanna Wu, thanks a lot, but I already did that trick, and nothing has changed :(
Only password recovery emails are sent in desired language. And confirmation email is still in the language that is selected in authentication console.

Thanks,
Ilia

четверг, 28 декабря 2017 г., 3:03:13 UTC+3 пользователь Yanna Wu написал:

Yanna Wu

unread,
Jan 3, 2018, 4:09:50 PM1/3/18
to Firebase Google Group
Hi Ilia, can you provide the project ID for this project so that we can take a look what might go wrong?

IQCalc calorie calculator

unread,
Jan 4, 2018, 3:40:13 PM1/4/18
to Firebase Google Group
Here it is: 
iqcalc-android.

Thanks a lot in advance,
Ilia

четверг, 4 января 2018 г., 0:09:50 UTC+3 пользователь Yanna Wu написал:
Message has been deleted

Yanna Wu

unread,
Jan 4, 2018, 10:19:55 PM1/4/18
to Firebase Google Group
Hi Ilia, the templates in your project are already in the default state. We are also unable to reproduce the issue you described. Please reach out to the Firebase Support channel (https://firebase.google.com/support/) to get help on debugging. Thanks.

IQCalc calorie calculator

unread,
Jan 5, 2018, 4:29:57 PM1/5/18
to Firebase Google Group
I've opened bug report on support channel, and also did some investigation with Auth sample: I just added
 mAuth.useAppLanguage();
and it doesn't work for sample app as well.
I'll keep you updated on this issue.

Thanks,
Ilia

пятница, 5 января 2018 г., 6:19:55 UTC+3 пользователь Yanna Wu написал:

Malcolm Deck

unread,
Jan 8, 2018, 5:58:46 PM1/8/18
to Firebase Google Group
Hey Ilia, can you try the following:
instead of calling FirebaseUser#sendEmailVerification(), can you call FirebaseUser#getEmailVerification(null /* actionCodeSettings */).
That might resolve your issue. 

IQCalc calorie calculator

unread,
Jan 9, 2018, 8:50:51 PM1/9/18
to Firebase Google Group
Hi Malcolm!

I've tested that, and confirmed to the support team that this overloaded method works perfectly.
They promised to fix this issue as soon as possible, and for now I'll use this overloaded method. 
I've tested all my use cases - they all work as desired!
Hopefully this thread will help someone else, and I'm really curious that nobody else has the same problem...

Thanks a lot,
Ilia

вторник, 9 января 2018 г., 1:58:46 UTC+3 пользователь Malcolm Deck написал:
Reply all
Reply to author
Forward
0 new messages