简体   繁体   中英

Google Sheets translated dates?

I am trying to implement a date on Google Sheets in a way that it is translated to a different language programatically:

  • If I have =TEXT("01/01/2020","DD MMMM YYYY") I get 01 January 2020 .
  • If I change my Google sheets language settings to spanish, I will get 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?

try:

=GOOGLETRANSLATE(TEXT(TODAY(), "dd mmmm yyyy"), "en", "es")

then:

=PROPER(SUBSTITUTE(GOOGLETRANSLATE(TEXT(TODAY(), "dd mmmm yyyy"), "en", "es"), "de ", ))

0

You could try this but I don't know how accurate it is:

=GOOGLETRANSLATE(TEXT("01/01/2020","DD MMMM YYYY"), "en", "es")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM