Joscha
Joscha

Reputation: 4693

Google Apps Script internationalization (i18n)

The docs don't seem to mention anything - is there a recommended way on how to do i18n within Google Apps Scripts? Especially ones published as a WebApp? Is there even a way to find out the user's locale?

Upvotes: 11

Views: 1477

Answers (1)

Zbynek
Zbynek

Reputation: 517

Session.getActiveUserLocale() should return the locale.

https://developers.google.com/apps-script/reference/base/session#getActiveUserLocale()

Upvotes: 8

Related Questions