Added support for Swedish.
Pause is now a function passed to the onBeforeAction method.