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

[BUG]: Make the website Multilingual #52

Closed
4 tasks done
Swarali1107 opened this issue Oct 1, 2024 · 8 comments
Closed
4 tasks done

[BUG]: Make the website Multilingual #52

Swarali1107 opened this issue Oct 1, 2024 · 8 comments

Comments

@Swarali1107
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Feature Request: We need to implement multilingual support for the Agrotech AI website to make it accessible to a wider audience, especially farmers from various regions.

Expected behavior

Proposed Solution:

Language Files: Create JSON/YAML files for different languages (e.g., English, Hindi, etc.).

Example: en.json, hi.json, etc., containing key-value pairs for translated text.
Language Switcher: Implement a language switcher (dropdown or buttons) for users to choose their preferred language.

Dynamic Content Loading: Modify the frontend to load text dynamically based on the selected language. This could involve using JavaScript frameworks or libraries like i18next or vanilla JS.

Multilingual SEO: Ensure the URLs and metadata reflect the selected language for SEO purposes (e.g., example.com/en/, example.com/hi/).

Add ScreenShots

No response

On which device are you experiencing this bug?

No response

Record

  • I have read the Contributing Guidelines
  • I'm a GSSOC'24 contributor
  • I have starred the repository
@Swarali1107 Swarali1107 added the bug Something isn't working label Oct 1, 2024
Copy link
Contributor

github-actions bot commented Oct 1, 2024

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

@manikumarreddyu
Copy link
Owner

hi @Swarali1107 ..thank you so much for showing interest in this project and your idea is excellent ...can you implement it using google translate modeule....because in previous project we have have already tried your idea using i18next...for that we have faced so many problems as the project size increases...so it is better to implement that by using google translate...

take referece from this repo...
https://github.com/VaibhavArora314/StyleShare
we have shifted from i18next to google translate...check this repo once...

please let me know if any information is needed...

@Swarali1107
Copy link
Author

Swarali1107 commented Oct 2, 2024

Great...I will work on it today and will report to you till evening
And if I have any doubts I will mail you regarding that

@Swarali1107
Copy link
Author

@manikumarreddyu I have mailed you about the issue...kindly check my mail and reply

@Swarali1107
Copy link
Author

Swarali1107 commented Oct 2, 2024 via email

@manikumarreddyu
Copy link
Owner

manikumarreddyu commented Oct 2, 2024

hi ,
@Swarali1107 please dont go for paid versions...try to use free versions only..if they ask you to give credit/debit card details..please dont give.i dont want to put you in risk beacuse of this task.

https://github.com/VaibhavArora314/StyleShare/blob/main/frontend/src/components/GoogleTranslate.tsx

https://github.com/VaibhavArora314/StyleShare/blob/main/frontend/src/styles/Translate.css

check this once...i think they have not used any api keys..not sure..but you check it once.
thank you

@manikumarreddyu
Copy link
Owner

hi @Swarali1107 any updates ?

Copy link
Contributor

github-actions bot commented Oct 6, 2024

Hello @Swarali1107! Your issue #52 has been closed. Thank you for your contribution!

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

No branches or pull requests

2 participants