Skip to content

[i18n] Add Translation to Hindi #9898

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SKADE2303
Copy link
Collaborator

@SKADE2303 SKADE2303 commented Jul 7, 2025

Brief summary of changes

This PR follows structure of #9747 and adds a similar infrastructure for the translation of the Menu bar to Hindi.

Testing instructions (if applicable)

  1. Ensure the languages table in loris includes the language Hindi.
  2. Change your language preference in the my_preference table to Hindi.
  3. Run make locales to generate the json files used for translation to frontend.

Blocked by #9797 and #9893

@github-actions github-actions bot added Language: PHP PR or issue that update PHP code Language: Javascript PR or issue that update Javascript code Module: statistics PR or issue related to statistics module Module: acknowledgements PR or issue related to acknowledgements module Module: battery_manager PR or issue related to battery_manager module Module: behavioural_qc PR or issue related behavioural_qc module Module: candidate_list PR or issue related to candidate_list module Module: conflict_resolver PR or issue related to conflict_resolver module Module: datadict PR or issue related to (old) datadict module Module: dictionary PR or issue related to (new) dictionary module Module: electrophysiology_browser PR or issue related to electrophysiology_browser module Module: examiner PR or issue related to examiner module Module: genomic_browser PR or issue related to genomic_browser module Module: imaging_browser PR or issue related to imaging_browser module Module: media PR or issue related to media module Module: new_profile PR or issue related to new_profile module Module: server_processes_manager PR or issue related to the server_processes_manger Module: survey_accounts PR or issue related to the survey_accounts module Module: user_accounts PR or issue related to the user_accounts module Module: dicom_archive PR or issue related to dicom_archive module labels Jul 7, 2025
@SKADE2303 SKADE2303 marked this pull request as draft July 7, 2025 20:23
@racostas racostas added the Event: GSOC PR or issue accepted for Google Summer of Code label Jul 8, 2025
@racostas racostas self-requested a review July 8, 2025 08:23
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: ja\n"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be hi?


# Smarty template main.tpl strings
msgid "LORIS"
msgstr "ロリス"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't appear to be in Hindi.

@driusan
Copy link
Collaborator

driusan commented Jul 8, 2025

@SKADE2303 This looks like it needs to be rebased as well.

@christinerogers christinerogers added the Multilingual Any tasks related to making LORIS multilingual label Jul 8, 2025
@SKADE2303 SKADE2303 removed Language: PHP PR or issue that update PHP code Module: statistics PR or issue related to statistics module labels Jul 9, 2025
@SKADE2303 SKADE2303 added Multilingual Any tasks related to making LORIS multilingual and removed Module: acknowledgements PR or issue related to acknowledgements module Module: battery_manager PR or issue related to battery_manager module Module: behavioural_qc PR or issue related behavioural_qc module Module: candidate_list PR or issue related to candidate_list module Module: conflict_resolver PR or issue related to conflict_resolver module Module: dashboard PR or issue related to dashboard module Module: datadict PR or issue related to (old) datadict module Module: dictionary PR or issue related to (new) dictionary module Module: document_repository PR or issue related to documen_repository module Module: electrophysiology_browser PR or issue related to electrophysiology_browser module Module: examiner PR or issue related to examiner module Module: genomic_browser PR or issue related to genomic_browser module Module: imaging_browser PR or issue related to imaging_browser module Module: instrument_list PR or issue related to instrument_list module Module: instruments PR or issue related to instruments module Module: login PR or issue related to login module Module: media PR or issue related to media module Module: new_profile PR or issue related to new_profile module Module: publication PR or issue related to the publication module Module: schedule_module PR or issue related to the schedule_manager module Module: server_processes_manager PR or issue related to the server_processes_manger Module: survey_accounts PR or issue related to the survey_accounts module Module: user_accounts PR or issue related to the user_accounts module Module: dicom_archive PR or issue related to dicom_archive module Module: dataquery PR or issue related to (new) dataquery module Multilingual Any tasks related to making LORIS multilingual Module: candidate_parameters PR or issue related to candidate_parameters module labels Jul 10, 2025
@driusan
Copy link
Collaborator

driusan commented Jul 14, 2025

@SKADE2303 Is this ready to merge? It looks pretty straight forward.

@SKADE2303 SKADE2303 marked this pull request as ready for review July 15, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Event: GSOC PR or issue accepted for Google Summer of Code Language: Javascript PR or issue that update Javascript code Multilingual Any tasks related to making LORIS multilingual
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants