resumake.io icon indicating copy to clipboard operation
resumake.io copied to clipboard

International language support

Open hermanzdosilovic opened this issue 7 years ago β€’ 13 comments

Hi @saadq, great project! :smile:

I found that some letters, for example ΔŒΔ†Ε½Ε ΔΔΔ‡ΕΎΕ‘Δ‘, are not displayed properly.

Regards, Herman

hermanzdosilovic avatar Jun 02 '17 14:06 hermanzdosilovic

And can't display Chinese for now.

mintisan avatar Jun 03 '17 03:06 mintisan

Hey @mintisan could you provide a couple of example input characters so that I can test that out as well?

saadq avatar Jun 03 '17 12:06 saadq

+1

Hope It can support CJK

psjay avatar Jun 04 '17 17:06 psjay

@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.

Wesley-Chan avatar Jun 06 '17 00:06 Wesley-Chan

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.

saadq avatar Jun 06 '17 01:06 saadq

Yea

bonebizz21 avatar Sep 15 '17 11:09 bonebizz21

and how about i18n?

matbrgz avatar Oct 03 '17 17:10 matbrgz

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!

saadq avatar Nov 21 '17 22:11 saadq

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.

screen shot 2018-01-02 at 8 24 18 am

saadq avatar Jan 02 '18 13:01 saadq

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.

Wesley-Chan avatar Jan 05 '18 22:01 Wesley-Chan

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.

saadq avatar Jan 05 '18 22:01 saadq

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)

Windsooon avatar Feb 05 '20 03:02 Windsooon

Related is just displaying generic unicode characters. I was trying to add stars next to skills and ran into display issues e.g. Git β˜…β˜…β˜…β˜…β˜†

rudolph9 avatar Jul 13 '20 03:07 rudolph9