Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#664 multi languages #691

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

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

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