Skip to content
loading...

re: Learn Code from Us: Developer Thread VIEW POST

TOP OF THREAD FULL DISCUSSION
re: So everyone can collaborate by writing code for the repo! You can also be featured on the site for sure! Here's the repo -- github.com/aspittel/l...
 

Does the site have a toggle for switching between English and Spanish? I feel like it would be a lot of work, though.

When the switch is toggled, you would have to switch out all of the translated content. Or perhaps have a subdomain (es.learncodefrom.us?) or a different domain (learncodefrom.es?) and redirect the user there perhaps.

I love that idea! Maybe just using React-Router for filtering languages -- like learncodefrom.us/en, learncodefrom.us/es to filter by language? Then add a column to the data that stores language -- home page shows everyone, pages show filtered by language? Or we could just add another filter similar to the tag one but for language?

Sounds great to me.

I have no idea when it comes to React, but it seems like a great way to implement it.

code of conduct - report abuse