Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations #26

Closed
coolusaHD opened this issue Mar 3, 2024 · 3 comments
Closed

Translations #26

coolusaHD opened this issue Mar 3, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@coolusaHD
Copy link

coolusaHD commented Mar 3, 2024

It would be nice if the duration and the text between two dates can be translated without creating his own template

@coolusaHD coolusaHD added the enhancement New feature or request label Mar 3, 2024
@sinaatalay
Copy link
Owner

Thank you for opening an issue! This has been requested a couple of times, and an open pull request for this (#20) already exists, but I haven’t gotten the chance to review it yet. It requires big changes, so I need to think about it in my free time.

I will keep this issue open until this is implemented.

@AndreasKarasenko
Copy link

Copying from #14.
For people that want to change the language: you can directly edit the tex file created after the render cli command. You can then use the latex_to_pdf function from this library to recreate the pdf. Simple regex can automate that as well. I just changed all the date related things to German, the headers can be translated directly in the yaml.

E.g.

from rendercv.renderer import latex_to_pdf
import pathlib

path = pathlib.Path("./rendercv_output/test_CV.tex")
latex_to_pdf(path)

Change the path to the path of your file and enjoy pls.

@sinaatalay
Copy link
Owner

This issue should have been fixed with v1.9. Please comment if you encounter any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants