Fix translation view generation.
Code formatting.