Strings are now allowed on the switches cases, but there are a few caveats to this... I've tried to reflect them in this little class
Localization examples