Improve translate plugin

The plugin can now read from stdin if no message to translate is specified.
The `from` and `to` flags can now be specified in any order relative to the message.