I’m working on a multilingual project using Hugo and Decap CMS, but I’m running into issues with their different i18n structures.
Key Differences:
- Decap CMS [docs]:
multiple_folders
→<folder>/<locale>/<slug>.md
multiple_files
→<folder>/<slug>.<locale>.md
single_file
→<folder>/<slug>.md
- Hugo [docs]:
- Uses
<locale>/<folder>/<slug>.md
structure
- Uses
The problem is that I can either:
Edit content multilingually in Decap CMS
Display it correctly in Hugo with proper URLs
But not both at the same time.
I will need both posts and custom layout pages (“landing” pages)
Has anyone successfully handled this integration? Any advice or working examples would be much appreciated!