Force integer value for form language

This prevents a JavaScript error if the variable is empty.