The session name was never set correctly because it was not checked for
the define var, but for a normal variable in the basic session name
settings flow
The l10n class has two new return methods for lang and mofile to check
if the correct ones are set