resumake.io
resumake.io copied to clipboard
International language support
Hi @saadq, great project! :smile:
I found that some letters, for example ΔΔΕ½Ε ΔΔΔΕΎΕ‘Δ
, are not displayed properly.
Regards, Herman
And can't display Chinese for now.
Hey @mintisan could you provide a couple of example input characters so that I can test that out as well?
+1
Hope It can support CJK
@saadq Here are some characters you can use. Traditional Chinese: ειθͺθ¨ζ―ζ Simplified Chinese: ε½ι θ―θ¨ζ―ζ
I'm not sure how people display Chinese character with pdflatex
. I use xelatex
but it's not compatible with microtype
, which is used in this project.
Some of the templates use pdflatex
, some use xelatex
, and some are using lualatex
. I believe I've got this issue fixed for the pdflatex
templates by setting the encoding correctly in each template, but I need to play around with the other templates a bit more.
Yea
and how about i18n?
Hey all, I've been working on the resume generator's second version for awhile now. The new version will hopefully have multilanguage support and I will be planning to add i18n to allow the site to work in different languages and such. Looking forward to sharing the new version with you all very soon!
Just for a status update βΒ I think I've got the accented characters working for every template. I've also gotten Chinese/Japanese/Korean characters working for the xelatex
templates with the xeCJK
package. However, I still need to figure out how to make the C/J/K characters work on pdflatex
templates.
Apparently, there is a CJK
package which is the pdflatex
version of the xeCJK
, but I'm not sure how to set my fonts with it. With xeCJK
, all I had to do was:
\usepackage{xeCJK}
\setCJKmainfont{Source Han Sans}
But I get an error when doing this in the pdflatex
templates:
\usepackage{CJK}
\setCJKmainfont{Source Han Sans}
about setCJKmainfont
not being a command. Will have to look more into it.
make the C/J/K characters work on pdflatex
Thanks for your support. I don't think pdflatex and CJK characters play nicely. That's why basically all Chinese Latex writers are using xelatex.
Yes, that makes sense. It's a shame that the majority of the templates I have for the app use pdflatex
. One thing I can possibly look into is converting them all into xelatex
but I imagine I will probably need help/pull request for it since I'm not all that confident in my LaTeX skills to be able to do it.
In template2, template4, template6. we only need to add
\usepackage{xeCJK}
\setCJKmainfont{Source Han Sans}
in their index.js to support Unicode. Source Han Sans
is the font you want to display. You have to make sure that Source Han Sans had been install in your system. (You can check it using fc-list
in *inux system)
Related is just displaying generic unicode characters. I was trying to add stars next to skills and ran into display issues e.g. Git β
β
β
β
β