-
Notifications
You must be signed in to change notification settings - Fork 183
[media] Translate media module #9952
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
SKADE2303
wants to merge
26
commits into
aces:main
Choose a base branch
from
SKADE2303:TranslateMedia
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
racostas
reviewed
Sep 2, 2025
Makefile
Outdated
@@ -60,7 +60,7 @@ testdata: | |||
locales: | |||
msgfmt -o locale/ja/LC_MESSAGES/loris.mo locale/ja/LC_MESSAGES/loris.po | |||
npx i18next-conv -l ja -s locale/ja/LC_MESSAGES/loris.po -t locale/ja/LC_MESSAGES/loris.json | |||
msgfmt -o locale/hi/LC_MESSAGES/loris.mo locale/hi/LC_MESSAGES/loris.po | |||
msgfmt -o locale/hi/LC_MESSAGES/loris.mo locale/ja/LC_MESSAGES/loris.po |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this intentionally changed or it's a typo ? From previous hi
to ja
Suggested change
msgfmt -o locale/hi/LC_MESSAGES/loris.mo locale/ja/LC_MESSAGES/loris.po | |
msgfmt -o locale/hi/LC_MESSAGES/loris.mo locale/hi/LC_MESSAGES/loris.po |
racostas
requested changes
Sep 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address comments. Thanks.
This translates the candidate list module as an example of how to do localization of a loris module that is written in React with class based components.
This translates the candidate list module as an example of how to do localization of a loris module that is written in React with class based components.
…dule is fully translated
…dule is fully translated
… list module is fully translated" This reverts commit b467ce6.
…dule is fully translated
Also fix syntax of export to fix tests.
556abf9
to
65661b3
Compare
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: candidate_list
PR or issue related to candidate_list module
Module: datadict
PR or issue related to (old) datadict module
Module: media
PR or issue related to media module
Multilingual
Any tasks related to making LORIS multilingual
State: Needs work
PR awaiting additional work by the author to proceed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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)