Reputation: 839
I am trying to implement a date on Google Sheets in a way that it is translated to a different language programatically:
=TEXT("01/01/2020","DD MMMM YYYY")
I get 01 January 2020
.01 Enero 2020
.However, I am looking for some =TRANSLATE('ES', TEXT("01/01/2020","DD MMMM YYYY"))
so even though my settings are set to English, I still get Enero
instead of January
.
Is there a way to do that?
Upvotes: 1
Views: 1939
Reputation: 4247
You could try this but I don't know how accurate it is:
=GOOGLETRANSLATE(TEXT("01/01/2020","DD MMMM YYYY"), "en", "es")
Upvotes: 0
Reputation: 1
try:
=GOOGLETRANSLATE(TEXT(TODAY(), "dd mmmm yyyy"), "en", "es")
then:
=PROPER(SUBSTITUTE(GOOGLETRANSLATE(TEXT(TODAY(), "dd mmmm yyyy"), "en", "es"), "de ", ))
Upvotes: 2