Fixed bugs and added a translation system