refactoring
translateRoute doc