adambard/learnxinyminutes-site

'Get the code' links to code in wrong languages

Opened this issue · 3 comments

I'm looking at the english versions. C++ is in Spanish, Python 3 in Czech, Bash in Italian and JSON in Lithuanian. Some others like Go and CoffeeScript are fine.

Up until now, I've been treating this as a docs issue (if the filename: property in the opening YAML is the same for the english and a non-english file, the english one can be clobbered). I've gone and fixed up the examples you mentioned in the docs, but I'll leave this open because it's probably something that should be addressed when I get around to unfucking this generator code.

dyej commented

Ruby is another example of this. The English page gives Polish file instead. Issue #2382 in the docs repo

ppdms commented

This also happens with Lua: "Get the code" on https://learnxinyminutes.com/docs/lua/ links to the Portuguese translation.