Skip to content
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

feat: add dataset columns/metrics translation support #641

Merged
merged 7 commits into from
Mar 11, 2024
Merged

Conversation

Ian2012
Copy link
Contributor

@Ian2012 Ian2012 commented Mar 7, 2024

Description

This PR allows translating columns and metrics names from the datasets. It doesn't affect the queries as the value changed is only the verbose_name.

A new dataset is created for every supported language and associated with the corresponding chart.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Mar 7, 2024
@openedx-webhooks
Copy link

openedx-webhooks commented Mar 7, 2024

Thanks for the pull request, @Ian2012! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

@Ian2012 Ian2012 changed the title feat: add metrics and column translation support feat: add dataset columns/metrics translation support Mar 7, 2024
@Ian2012 Ian2012 marked this pull request as ready for review March 7, 2024 17:01
@Ian2012 Ian2012 force-pushed the cag/translations branch 2 times, most recently from 1440802 to 1c6770c Compare March 7, 2024 20:29
@Ian2012 Ian2012 force-pushed the cag/translations branch from 1c6770c to 9291687 Compare March 7, 2024 20:30
Copy link
Contributor

@bmtcril bmtcril left a comment

Choose a reason for hiding this comment

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

Looking good, just a couple of questions

scripts/translate_utils.py Outdated Show resolved Hide resolved
scripts/translate_utils.py Outdated Show resolved Hide resolved
scripts/translate_utils.py Outdated Show resolved Hide resolved
@itsjeyd itsjeyd added core contributor PR author is a Core Contributor (who may or may not have write access to this repo). waiting for eng review PR is ready for review. Review and merge it, or suggest changes. labels Mar 11, 2024
@itsjeyd itsjeyd requested a review from bmtcril March 11, 2024 08:56
Copy link
Contributor

@bmtcril bmtcril left a comment

Choose a reason for hiding this comment

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

👍 nice!

@Ian2012 Ian2012 merged commit 703943c into main Mar 11, 2024
10 checks passed
@Ian2012 Ian2012 deleted the cag/translations branch March 11, 2024 19:44
@openedx-webhooks
Copy link

@Ian2012 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core contributor PR author is a Core Contributor (who may or may not have write access to this repo). open-source-contribution PR author is not from Axim or 2U waiting for eng review PR is ready for review. Review and merge it, or suggest changes.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants