developerFolio icon indicating copy to clipboard operation
developerFolio copied to clipboard

#664 multi languages

Open CihatKOCAK opened this issue 11 months ago • 1 comments

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"
  }
];
  1. After you have to go "languages" folder, and add new language file for example en,tr...
  2. You have to add or update LanguageContent from src/contexts/LanguageContent.js
  3. 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.

  • [x] Dropdown to display languages has been added according to the design.
  • [x] Including a provider for languages
  • [x] All texts used on other pages have been made changeable according to the selected language.
  • [x] languageSwitcher has been optimized for design
  • [x] updated and changes added to readMe

CihatKOCAK avatar Feb 26 '24 16:02 CihatKOCAK

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

vercel[bot] avatar Feb 26 '24 16:02 vercel[bot]