Adds a translation interface to rails