Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

  1. Create a bookmark (to anything).
  2. Edit the name to something like "English dammit!" 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.