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?
相关问题
- How can I force all files in a folder to be owned
- Google Apps Script: testing doPost() with cURL
- Google Apps Script to turn in, grade, and return a
- Script fails on SpreadsheetApp.openById - Requires
- Split Lines and Bold Text within a ui.alert Window
相关文章
- xslt localization
- How to allow access for importrange function via a
- Google app script trigger not working
- Set Date/Time to 00:00:00
- indexOf returning -1 despite object being in the a
- How can my Google Apps Script be run by others the
- “Intl not available” in Edge 15
- How to stop execution of Google Apps Script?
Session.getActiveUserLocale() should return the locale.
https://developers.google.com/apps-script/reference/base/session#getActiveUserLocale()
I would strongly suggest to implement this with a HTML service on client side using this very handy jQuery plug-in: http://code.google.com/p/jquery-i18n-properties/