Reputation: 4693
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
Reputation: 517
Session.getActiveUserLocale() should return the locale.
https://developers.google.com/apps-script/reference/base/session#getActiveUserLocale()
Upvotes: 8