Implemented saving permissions

and i18n