Implement translate_path.sh script