Skip to content

Conversation

@SKADE2303
Copy link
Collaborator

This PR is responsible for translating the module media to different languages. Currently only 'Hindi' language is supported but other languages can be added as required.

Testing instructions (if applicable)

  1. Run 'make dev' to load changes
  2. Change language_preference to Hindi in my_preferences Tab
  3. Go to media tab to see translated web page.

@github-actions github-actions bot added Language: Javascript PR or issue that update Javascript code Module: electrophysiology_uploader PR or issue related to electrophysiology_uploader labels Aug 29, 2025
@SKADE2303 SKADE2303 added Event: GSOC PR or issue accepted for Google Summer of Code Multilingual Any tasks related to making LORIS multilingual labels Aug 29, 2025
@kongtiaowang
Copy link
Contributor

@SKADE2303 Could you add the "Hindi" into raisinbread/RB_files/RB_language.sql and 0000-00-00-schema.sql? Thanks.

@racostas racostas added the State: Needs work PR awaiting additional work by the author to proceed label Sep 3, 2025
@driusan
Copy link
Collaborator

driusan commented Sep 3, 2025

@SKADE2303 do not add it to 0000-00-00-schema.sql. We don't want it to be enabled out of the box for new installs unless a project specifically enables it, but I think you can add it to raisinbread/RB_files/RB_language.sql so that it's available for development/testing.

@SKADE2303 SKADE2303 removed the State: Needs work PR awaiting additional work by the author to proceed label Oct 22, 2025
@racostas racostas self-requested a review November 3, 2025 06:03
Copy link
Contributor

@racostas racostas left a comment

Choose a reason for hiding this comment

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

Needs corrections yet.

Comment on lines 249 to +251
<TextboxElement
name='candID'
label='CandID'
label={t('CandID', {ns: 'loris'})}
Copy link
Contributor

Choose a reason for hiding this comment

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

@SKADE2303 , please remmenber we're not longuer using CandID we are using "DCCID"

Comment on lines 221 to 223
swal.fire({
title: 'Submission error!',
title: t('Submission error!', {ns: 'electrophysiology_uploader'}),
text: error,
Copy link
Contributor

Choose a reason for hiding this comment

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

There are already one Error: key in the loris.po I think we should use this one instead of creating a new one. Thanks.

@racostas racostas added the State: Needs work PR awaiting additional work by the author to proceed label Nov 3, 2025
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 Module: electrophysiology_uploader PR or issue related to electrophysiology_uploader Multilingual Any tasks related to making LORIS multilingual State: Needs work PR awaiting additional work by the author to proceed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants