Translate log levels

Enable the translation of the log levels.