saadpasta / developerFolio

🚀 Software Developer Portfolio Template that helps you showcase your work and skills as a software developer. (This is currently not being actively maintained)
https://developerfolio.js.org/
GNU General Public License v3.0
5.53k stars 2.86k forks source link

#664 multi languages #691

Open CihatKOCAK opened 8 months ago

CihatKOCAK commented 8 months ago

Description

I added easy-to-use multi-language support

  1. If you want to add new language, you need to go this file src/portfolio.js after you can change or add languages.
    const supportedLanguages = [
    {
    value: "TR",
    label: "Türkçe"
    },
    {
    value: "EN",
    label: "English"
    },
    {
    value: "DE",
    label: "Deutsch"
    }
    ];
  2. After you have to go "languages" folder, and add new language file for example en,tr...
  3. You have to add or update LanguageContent from src/contexts/LanguageContent.js
  4. and 🎉 u added a new language

I created at easy-to-use structure for multiple languages, I did not to add i-18 because the project is not too big.

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
developer-folio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2024 4:47pm