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

Translate Dynamic Content #71

Open
stefan-petrov1 opened this issue Mar 16, 2024 · 0 comments
Open

Translate Dynamic Content #71

stefan-petrov1 opened this issue Mar 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request high priority Request with high priority

Comments

@stefan-petrov1
Copy link
Member

Is your feature request related to a problem? Please describe.
Nope - We should translate the blogs' and courses' dynamic content.

Describe the solution you'd like
Well the first step would be to define the language of the blog. After defining the language of the blog we can start a background worker (so we don't block our server) and after it is done it should seed another table (for example blogs_translated) which will have all of the blog columns with the addition of two more for the languages (for example "original_language" and "translated_language"). And based on the language given by the frontend on each request the blog/course service should return the translated or non-translated blog/course.

If we can't find a proper translation tool we can try and use gpt-4 for the translation.

Additional context
One things we have to think about are - What happens if the user creates a blog and we can't identify the language? Do we throw an error? Or do we just suppose it is english and try to translate it anyways?

@stefan-petrov1 stefan-petrov1 added the enhancement New feature or request label Mar 16, 2024
@stefan-petrov1 stefan-petrov1 added the high priority Request with high priority label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high priority Request with high priority
Projects
None yet
Development

No branches or pull requests

2 participants