add activation function and internationalize message
fix docblock