Skip to content

Conversation

SKADE2303
Copy link
Collaborator

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

Testing instructions (if applicable)

  • Run 'make dev' to load changes
  • Change language_preference to Hindi in my_preferences Tab
  • Go to imaging_uploader tab to see translated web page.

@github-actions github-actions bot added Language: Javascript PR or issue that update Javascript code Module: imaging_uploader PR or issue related to imaging_uploader module 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
@SKADE2303 SKADE2303 requested a review from racostas August 29, 2025 19:47
@SKADE2303 SKADE2303 force-pushed the TranslateImagingUploader branch from 5232cd1 to 70476a0 Compare August 29, 2025 19:48
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.

Some translations still missing.
image

If they are in a PR that is not merge yet, please add the blocked and blocking labels. Also a link to the PR(s) itself.

<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.

I don't think we have this CandID in the loris.po yet.

Copy link
Collaborator

Choose a reason for hiding this comment

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

We have DCCID. We should probably harmonize.

{id: 'browse', label: 'Browse'},
{id: 'upload', label: 'Upload'},
{id: 'browse', label: t('Browse', {ns: 'loris'})},
{id: 'upload', label: t('Upload', {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.

I don't think we have Upload in the loris.po yet

<ButtonElement
type='reset'
label='Clear Filters'
label={t('Clear Filters', {ns: 'imaging_uploader'})}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
label={t('Clear Filters', {ns: 'imaging_uploader'})}
label={t('Clear Filters', {ns: 'imaging_uploader'})}

I think I have have see this 'Clear Filters' in other modules as well. Do we better put it as part of the loris.po ? What do you think @driusan ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm confused about it not being there because it already exists as marked up in jsx/Filter.js

Copy link
Collaborator

Choose a reason for hiding this comment

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

But yes, add it to loris

@racostas racostas added the State: Needs work PR awaiting additional work by the author to proceed label Sep 12, 2025
@SKADE2303 SKADE2303 removed the State: Needs work PR awaiting additional work by the author to proceed label Oct 6, 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: imaging_uploader PR or issue related to imaging_uploader module Multilingual Any tasks related to making LORIS multilingual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants