Skip to content

Comments

#664 multi languages#691

Open
CihatKOCAK wants to merge 7 commits intosaadpasta:masterfrom
CihatKOCAK:#664-multiLanguages
Open

#664 multi languages#691
CihatKOCAK wants to merge 7 commits intosaadpasta:masterfrom
CihatKOCAK:#664-multiLanguages

Conversation

@CihatKOCAK
Copy link

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.

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

@vercel
Copy link

vercel bot commented Feb 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant