use polyglot, reorgize plugin settings