BartoszJarocki / cv

Print-friendly, minimalist CV page
https://cv.jarocki.me
MIT License
8.79k stars 934 forks source link

Create support for multilanguage #9

Open emnesty opened 8 months ago

emnesty commented 8 months ago

I know that English is the best known standard internationally, but it would be nice to have the flexibility to use your local language, in my case, Portuguese (Brazil)

OmitNomis commented 7 months ago

@emnesty Do you want whoever visits your site to be able to switch between multiple languages? in your case English and Portuguese?

emnesty commented 7 months ago

Yes i was thinking of using this component: https://ui.shadcn.com/docs/components/tabs

And each tab can be a language

By default we should be able to choose a default language, such as English, but the user would have the option to choose others. I'm not a big fan of the model where the system adapts to the language the user is using in the system, because we can have people in Brazil who prefer to read the CV in English for example, so it would be interesting if the user was free to choose.

dninomiya commented 7 months ago

@emnesty Inspired by this amazing project, I have created a version with translation features. I hope the code will be helpful as a reference!

Code / Demo

aramacs commented 6 months ago

This totally improved the project @dninomiya. Definitely going to use your implementation.