Fix some of NLS bugs

Translations did not work at all with current master, with these patches they work, but still not perfect.