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

[Localization improvements] MongoDB translation storage changes #3289

Open
pdcp1 opened this issue Dec 16, 2024 · 0 comments
Open

[Localization improvements] MongoDB translation storage changes #3289

pdcp1 opened this issue Dec 16, 2024 · 0 comments
Assignees

Comments

@pdcp1
Copy link
Collaborator

pdcp1 commented Dec 16, 2024

This issue is part of the epic #3268

Improvements

  1. Change the way we store the translations. Using just one reports collection with a new document field language.
  • Collections that will be removed:
    • translations/reports_en
    • translations/reports_es
    • translations/reports_fr
    • translations/reports_ja
  • Collection that will be added
    • translations/reports
  • About the new translations/reports collection
    • The collection will include translations of all reports in the system.
    • A new document field named language will be introduced to identify the translation language.
  1. Change the API to use this new DB approach
  2. Change the client graphql mutations to use the language code as a parameter

PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant