Comments (8)
Started with upgrading react router to v4
https://github.com/Kentico/cloud-sample-app-react/tree/multilingual-support
from sample-app-react.
Submitted a pull request with, let's say extendable support of multiple language with Spanish translation
#64
from sample-app-react.
Hi! I'd love to help with this :) Spanish is my first language and I translated if-me.org... msg me!
from sample-app-react.
Hi @beemtz,
Thanks for your interest!
Not too long ago, we added localization support to our headless CMS - Kentico Cloud.
We demonstrated the functionality in the sample app for .NET and we'd like to do the same for this sample react app.
So the idea here is to add a language dropdown to the web site which would switch the context between English and Spanish culture. Behind the scenes, it will basically be adding of a language parameter to the calls made by the delivery client. This is well described here: https://github.com/Enngage/KenticoCloudDeliveryTypeScriptSDK#getting-localized-items
Texts that are not being retrieved from the Kentico Delivery API (=are hardcoded...eg. buttons) should be translated as well. We should use a standardized approach to do this...e.g. https://stackoverflow.com/questions/14358817/best-practice-for-localization-and-globalization-of-strings-and-labels
There is a bonus part as well: some of the texts that come from the Kentico Delivery API (probably most of them) are not translated to Spanish. It'd be great to have someone who speaks Spanish translate them. :) Let me know if you're interested in helping out here as well.
Localization-related changes in the .NET app (for inspiration):
- kontent-ai/sample-app-net#19
- kontent-ai/sample-app-net#20
- kontent-ai/sample-app-net#21
- kontent-ai/sample-app-net#25
- kontent-ai/sample-app-net#26
- kontent-ai/sample-app-net#38
from sample-app-react.
from sample-app-react.
hey @beemtz , sorry for the delay. i needed to discuss the approach with my colleagues. i've created a separate issue for the translations themselves. feel free to accept the invitation to this project and assign the issue (#20) to yourself.
from sample-app-react.
from sample-app-react.
@JanLenoch could you please give @beemtz some guidance in #20 ? thx
from sample-app-react.
Related Issues (20)
- Replace hardcoded sample project items count in SelectedProject.js HOT 3
- Extract API keys definition to .env HOT 2
- Fix Glitch setup HOT 3
- Update integration sample - Bynder HOT 4
- Update integration sample - Shopify HOT 2
- Update integration sample - GA experiments HOT 5
- Update integration sample - Google analytics HOT 2
- Update integration sample - Hubspot HOT 4
- Update integration sample - Magento HOT 11
- Update integration sample - Optimizely HOT 2
- Image Sliders don't Work in the React Sample App HOT 1
- Configuration admin page is not up-to-date with the latest design HOT 3
- Update to latest React HOT 5
- Store rewrite
- Upgrade to npm lockfile v2
- google-maps-react is not supported in React 17 HOT 1
- [Spike] Prepare multilingual setup HOT 3
- Missing typescript in dev dependencies
- Cannot leave configuration in web spotlight
- Put the kontent client into a react context
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sample-app-react.