added extra default value for locale in case acs-lang manages not to
come up with any answer at all for what locale we're in, which sadly
is the modal case, and then causes an error which should already be
prevented by the catch statement that doesn't do what I thought it
would do.