The problem
Documentation changes with every release. Translations that are produced once and then forgotten become outdated and misleading, and exporting whole files to a vendor each time is slow.
How Glossferry fits
- Split each Markdown file into blocks: headings, paragraphs and list items are translatable, fenced code is not.
- Send the prose blocks in batches of up to 50 strings.
- Put the translated blocks back in their original order and write the file for the target language.
- Run this in CI for files that changed, and mark translated pages with the date and the source version.
curl -X POST https://api.glossferry.com/v1/translate \
-H "Authorization: Bearer gf_live_xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"text":["Create an API key in the dashboard, then send your first request."],"target_lang":"ES","source_lang":"EN"}'
What to watch for
- Code and identifiers. Never send code blocks, command names or API fields. Translate the prose around them.
- Headings and anchors. Translated headings change link anchors. Decide whether to keep explicit anchor ids.
- Freshness. Show when a translation was generated and which source version it follows.
- Terminology. There is no glossary yet. Review technical terms in the languages you care about most.
Cost example
A documentation set with 200 pages of about 4,000 characters of prose has 800,000 source characters. That is EUR 9.60 per language at EUR 12.00 per million. Translating only changed pages keeps each release run small.