n8n汉化

42 阅读1分钟
  • 先把docker的n8n停掉

  • 命令行输入: docker run -d --rm --name n8n -p 5678:5678 -v D:\editor-ui\dist:/usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist -e N8N_DEFAULT_LOCALE=zh-CN -e N8N_SECURE_COOKIE=false n8nio/n8n

  • 生成地址:D:\editor-ui\dist

    下载地址:github.com/other-blows…

    替换地址内的dist空文件为下载的dist文件

  • 执行命令

docker run -d --rm --name n8n -p 5678:5678 -v D:\editor-ui\dist:/usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist -e N8N_DEFAULT_LOCALE=zh-CN -e N8N_SECURE_COOKIE=false n8nio/n8n
  • 如果报错就先把docker内的n8n移除再重新执行一遍上方命令
docker stop n8n
docker rm n8n