A Python tool to automatically translate LaTeX CVs (Awesome CV format) between English and Spanish, preserving structure and formatting.
- Translates between English ↔ Español
- Preserves LaTeX syntax and formatting
- Modular and easy to extend
- Automatically creates a new translated directory
- Processes all relevant
.texfiles:summary,education,experience,skills, etc.
cv_translator/
├── main.py
├── translator/
│ ├── init.py
│ ├── cv_translator.py
│ └── translator_api.py
├── resume/ # Original LaTeX CV (input)
│ ├── summary.tex
│ ├── education.tex
│ ├── ...
└── translated_cv/ # Output folder (auto-generated)
- Place your Awesome CV
.texfiles inside theresume/folder. - Run the script:
$ python main.py --lang en_to_es # or es_to_en- The translated CV will be saved inside translated_cv/.
🔧 Requirements Python 3.7+
A translation function (you can plug in DeepL, Google Translate API, or use mock functions)
📄 License MIT – feel free to use, modify, and contribute.