Run language setup in a separate trasaction

Signed-off-by: Michal Čihař <michal@cihar.com>