add title translation, refactoring