-
Notifications
You must be signed in to change notification settings - Fork 59
Description
To make KrishiMitra more accessible and useful to farmers across India, this issue proposes expanding the multi-language support in the user interface. The current implementation already has a solid framework for translations, but it is missing several key regional languages.
Current Supported Languages
- English
- Hindi
- Telugu
- Marathi
- Tamil
- Gujarati
- Kannada
- Punjabi
Proposed New Languages to Add
I propose adding full translation support for the following languages:
- Bengali (bn)
- Odia (or)
- Assamese (as)
Implementation Plan
The work to implement this involves two main steps in the app.py file:
-
Update the
translationsDictionary: Add new top-level keys ("bn","or","as") to the maintranslationsdictionary. Each new entry will contain the translated text for all the required UI keys (e.g.,"header","tab_expert_diagnosis","get_plan_button", etc.). -
Update the
language_optionsDictionary: Add the new languages to thelanguage_optionsdictionary in the sidebar. This will make them appear in the user-facing dropdown menu.language_options = { # ... existing languages "বাংলা (Bengali)": "bn", "ଓଡ଼ିଆ (Odia)": "or", "অসমীয়া (Assamese)": "as" }
Value of this Contribution
- Increased Accessibility: Makes the app usable for millions of farmers in West Bengal, Odisha, and Assam.
- Improved User Experience: Provides a fully native experience for users, increasing trust and engagement.
- Easy to Implement: Leverages the existing translation framework, making it a straightforward enhancement.
I have already prepared the translation texts and am ready to implement this feature. I would like to be assigned this issue.