Creates a max words validation action.
The locales to be used.
The maximum words.
A max words action.
The error message.
Creates a max words validation action.