Skip to content

Conversation

SKADE2303
Copy link
Collaborator

This PR is responsible for translating the module help_editor 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 help_editor tab to see translated web page.

@github-actions github-actions bot added Language: Javascript PR or issue that update Javascript code Module: help_editor PR or issue related to help_editor module labels Sep 12, 2025
@SKADE2303 SKADE2303 added Event: GSOC PR or issue accepted for Google Summer of Code Multilingual Any tasks related to making LORIS multilingual labels Sep 12, 2025
@SKADE2303 SKADE2303 requested a review from racostas September 12, 2025 13:29
id="save-help"
name="fire_away"
value="Save"
value={t('Save', {ns: 'help_editor'})}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure if this exists in the loris namespace but it probably should. I'd be surprised if this was the only place we said "Save"

Copy link
Contributor

Choose a reason for hiding this comment

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

It's not there.. but agree, this should be in loris.po

// XXX: Replace this with a UI component for 500 errors.
if (this.state.error) {
return <h3>An error occured while loading the page.</h3>;
return <h3>{t('An error occured while loading the page.',
Copy link
Collaborator

Choose a reason for hiding this comment

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

loris namespace

Copy link
Contributor

Choose a reason for hiding this comment

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

yes,
image

please point to the correct namespace @SKADE2303

@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 Sep 19, 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: help_editor PR or issue related to help_editor module Multilingual Any tasks related to making LORIS multilingual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants