Skip to content

Hugo Translator

Translate articles into new Markdown files with an LLM

Visit official site
Category Translation

What Hugo Translator is

The tool is described as an LLM-driven article translator that moves text from one language to another and produces new Markdown files. The tool supports OpenAI and DeepSeek models and is described for users of the Hugo static site generator.

What you can do with it

  • Pick an OpenAI or DeepSeek model for the job
  • Read Markdown files from a chosen directory
  • Generate new multilingual Markdown files automatically
  • Set a custom API base URL for third-party services

Application scenarios

  • A blogger translates a Chinese post into English for a Hugo blog
  • A documentation team translates technical docs into several languages
  • A researcher translates findings into English for academic exchange

Getting started

  • Download the script from GitHub and copy it into the Hugo blog directory
  • Create a .env file with API keys, parameters and the article directory
  • Confirm the article path and run the ./post_translate command
  • Check the generated multilingual Markdown files

Pros & cons

✓ What we like

  • API keys and settings live in a .env file
  • A single command starts the translation flow

! What to watch out for

  • Translation runs through the OpenAI or DeepSeek model chosen
  • The described workflow reads Markdown files from a set directory

FAQ

Which models are supported?

The feature list names OpenAI and DeepSeek LLM models.

How are settings configured?

The material says API keys and translation parameters are set in a .env file.

Last reviewed: 2026-11-15

More AI writing assistant tools

View all →

How we review