Better error message when there is no ns on Layout
Translate error messages and warnings