The problem is that this $ubbt_lang should not be used as a variable because this is a modifiable language variable.