Changes error on Language from base to public attribute.

If one tried to unpublish the default language, the error message was not shown in the form. By setting the error object to the public attribute will make the error notice visible for the user.

Fixes #487