Skip to end of banner
Go to start of banner

Setting the Session Locale via a Bookmarklet

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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 "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.

  • No labels