Correct crash if no lang is defined
Merge pull request #31 from pauldijou/master

Correct crash if no lang is defined