Skip to content

Add Support for More Indian Regional Languages #71

@Ri796

Description

@Ri796

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:

  1. Update the translations Dictionary: Add new top-level keys ("bn", "or", "as") to the main translations dictionary. Each new entry will contain the translated text for all the required UI keys (e.g., "header", "tab_expert_diagnosis", "get_plan_button", etc.).

  2. Update the language_options Dictionary: Add the new languages to the language_options dictionary 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions