This is a very interesting question. I think the short answer is that there is no good way, and you should ask users about your language / language.
I see no way to do this on the server side using the APIs that you already discussed. However, I was thinking maybe there is a sensible way to do this on the client side and send it to the server using the google.script API after getting the locale information from the navigator.language JS call.
Unfortunately, since the HTML / JS that you have in your web application is sanitized for security through Caja , only part of the normal <properties href = "https://developer.mozilla.org/en-US/ docs / DOM / window.navigator "rel =" nofollow "> window.navigator. It seems that the only useful features are userAgent and the platform. The language seems harmless enough for disclosure, so itβs worth writing a request to Tracking problems .
source share