developerFolio
developerFolio copied to clipboard
#664 multi languages
Description
I added easy-to-use multi-language support
- 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"
}
];
- After you have to go "languages" folder, and add new language file for example en,tr...
- You have to add or update LanguageContent from
src/contexts/LanguageContent.js
- 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
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 |