smlab-niser / tirtha-public

Project Tirtha
GNU Affero General Public License v3.0
9 stars 7 forks source link

[EN] Add localization to Tirtha #31

Open JeS24 opened 1 year ago

JeS24 commented 1 year ago

Feature request / Suggestion

For a multilingual country like India, providing support for multiple languages is important, especially since one of the stated goals of Tirtha is democratization of heritage documentation. Ensuring Tirtha is accessible to non-English speakers is imperative. This issue will track any updates to the Django backend that enables localization for the various languages in India, as well as, across the world.

Possible implementation

The following points may be useful (Partial credits to ChatGPT):

  1. Identify all the content that requires translation. This includes static text as well as dynamic server-generated content, such as error messages and notifications.
  2. Use Django's built-in internationalization (i18n), replace hardcoded text with Django's translation functions (e.g., gettext) and wrap translatable strings with translation tags.
  3. Check if translation management tools like django-rosetta help here.
  4. The website should have an easy to use language switching mechanism, perhaps a dropdown and/or automatic locale detection.
  5. Set up tests to verify the localization.
  6. Update the documentation at each step, so that adding newer languages is simple.

Additionally, account for the following:

  1. The metadata / details added to the ARK after each successful Run.
  2. Languages written right-to-left in the design of the page.

Self-check

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment to re-open.

github-actions[bot] commented 9 months ago

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment to re-open.

github-actions[bot] commented 7 months ago

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment to re-open.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment to re-open.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment to re-open.