Setting the Session Locale via a Bookmarklet
NOTE - this is a draft solution that does not quite work yet
Setup
For when Snapshot's language has changed to something other than English, and you want to set the session locale to "American English", but can't figure out how because you don't speak the language.
- Create a bookmark (to anything).
- Edit the name to something like "Reset Snapshot to English" and the URL to:
javascript:(function() { let button = document.evaluate("//button[contains(., 'American English')]", document, null, XPathResult.ANY_TYPE, null).iterateNext(); button.click(); }) ();
You have to be logged in to snapshot (or whatever environment) with permissions to access Settings → Developer. diku_admin will do it.
Use
- Navigate to the Developer Settings > Session Locale page. Â
- Click the bookmark.