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

Listing the translated versions of each article on news. #571

Open
ahmaxed opened this issue Nov 15, 2022 · 6 comments
Open

Listing the translated versions of each article on news. #571

ahmaxed opened this issue Nov 15, 2022 · 6 comments

Comments

@ahmaxed
Copy link
Member

ahmaxed commented Nov 15, 2022

Is your feature request related to a problem? Please describe.

Based on a discussion with a few of our language Leads, It would be great to have a list of translated versions of each article to increase awareness to our i18n efforts and allow users to read articles in their preferred language.

Describe the solution you'd like

A similar feature could be found on wikipedia:

Screen Shot 2022-11-15 at 10 55 42 AM

Describe alternatives you've considered

I'm tagging @scissorsneedfoodtoo so we could discuss the feasibility of such feature.

Additional context

No response

@scissorsneedfoodtoo
Copy link
Contributor

Hey @ahmadabdolsaheb, thanks for your patience.

I haven't had a whole lot of time to think about this, but it should be possible to build this feature. Then editors could manage it manually, or we could try to automate most of it during the build process.

Off the top of my head, we could set up either a remote database (Mongo Atlas or something similar), or even a Dockerized DB if automated.

Then if we want to automate the process, we could use the original author / translator feature to update a record for the English article during the build. Then when the English build is triggered, we could query the DB for each article and build a dropdown if there are any translations.

Or if we want this to be a more manual process, we could hook the DB up to something like Retool, then build a simple form editors can fill out. They could enter in info for the English article and the translated version (translated article slug, and so on).

Then when the builds are triggered we could see the translated version of each article to build a dropdown. We could also use this manual form for the original article / translator info, too.

There are a few ways we can handle all this, so I think it might be worth discussing it with the i18n team to see what they're able to do, and if they have any feature requests.

@ahmaxed
Copy link
Member Author

ahmaxed commented Nov 22, 2022

@RafaelDavisH, I was wondering if you could discuss this with the i18n team and get back to us the the team's preferences?

@ojeytonwilliams ojeytonwilliams changed the title Listing the translated versions of each article on Learn. Listing the translated versions of each article on news. Jan 18, 2023
@BalanaguYashwanth
Copy link

BalanaguYashwanth commented Feb 9, 2023

Hello @ahmadabdolsaheb,

What's the status of team preference and any updates for this ticket ?

@ahmaxed
Copy link
Member Author

ahmaxed commented Feb 16, 2023

I believe @scissorsneedfoodtoo is double checking the requirements with the i18n team.

@scissorsneedfoodtoo
Copy link
Contributor

Thanks for your interest in helping with this @BalanaguYashwanth.

However, I believe this is something we'll need to handle internally. We have a couple of team members working on a database that will eventually allow us to list translated versions for each article, but we don't have an official timeline for the db or this feature at the moment.

@BalanaguYashwanth

This comment was marked as off-topic.

@scissorsneedfoodtoo scissorsneedfoodtoo transferred this issue from freeCodeCamp/freeCodeCamp Feb 24, 2023
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

3 participants