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 env = 'folio-snapshot'; location.href='https://' + env + '.dev.folio.org/settings/developer/locale'; 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.