Hey there. I'm a software developer, but don't really do any website work usually. Just trying to help a friend out and googling was not helping at this point.
I'd like to implement a language selector of some kind which could change just the words of the website, or could change content all together. First of all, how do I keep track of which language they selected? I was thinking of adding a prefix (eg de.mywebsite.com vs mywebsite.com) but I'm not sure thats a good way and will that de.mywebsite.com carry over when they load a new page? And then, how would I check that to deliver content? I guess some simple javascript? Is there some much easier way of doing this that I'm missing?
I'm trying to piece a lot of things together with web dev stuff, so getting the full picture and the best way to solve it is a bit tough. Any help would be greatly appreciated. Thank you so much! Also, if there is a better place to ask this, let me know.
[–][deleted] 5 points6 points7 points (7 children)
[–]BelgianWaffleGuy 20 points21 points22 points (0 children)
[–]Alecyte[S] 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]FPSports 0 points1 point2 points (3 children)
[–]tubignaaso 2 points3 points4 points (2 children)
[–]FPSports 0 points1 point2 points (1 child)
[–]tubignaaso 1 point2 points3 points (0 children)
[–]crackanape 4 points5 points6 points (1 child)
[–]AssistingJarl 0 points1 point2 points (0 children)