covid19india / covid19india-react

Tracking the impact of COVID-19 in India
https://www.covid19india.org
MIT License
6.86k stars 3.41k forks source link

Language selection does not affect the about section FAQs data #2254

Open Git-Harshit opened 4 years ago

Git-Harshit commented 4 years ago

Describing the bug If the issue is regarding an error in the data, it's best reported through this form. The contents in the about section page of the website are just mentioned in English, and do not respond to the user's language selection. I believe having the FAQ contents in some native languages (including the ones selected from the language drop-down) will help them know

To Reproduce Steps to reproduce the behavior:

  1. Visit the HomePage, then go to About Page.
  2. Select a language from the bottom-left part of navbar on desktop screen or from top-left part of mobile screen.
  3. Choose any language (consider selecting any language other than English)
  4. Note the Language of FAQs (or Q&A) content in about page. The content would still be in English.

Expected behavior On selecting any language, it is expected to be applicable throughout the website interface, and includes all its contents to be displayed in that language.

Screenshot(s) www covid19india org_about Please have a look at above image of about page. As evident from its bottom-right, the language selected is Hindi, but still, the question and answer contents are in English language, as hard-coded.

Desktop (please complete the following information):

Additional context The problem might not seem to be a major one, but it does needs to be implemented accordingly so that the contents get replaced with other languages, whenever the corresponding options are selected. Ideas upon ways to implement the same are also welcome. Thanks!

Cazaimi commented 4 years ago

I'd like to pick this up.