Programming Cookbooks for 21 prog. languages & 16 world languages

Hugo’s multilingual support is pretty amazing. I just finished the beta:

https://forkful.ai/

I started making this after frustration with the Haskell documentation I could find. :sweat_smile: I also discovered that quality non-English educational material is often non-existent.

  • AI generated, human edited via GitHub.

Currently 10,080 pages, zero hosting fees:

  • 21 programming languages
  • 16 natural languages
  • 30 topics

And I add more all the time. I create the pages with a Python app that uses the OpenAI client.

Each page is individually created, not translated. That seems to provide the best result. I know English, German, and French. And I have friends who know Spanish and Hindi. So those are my test cases.

Some examples:

“Capitalizing a String”

It’s pretty much a 3-dimensional data set.

2 Likes

I love the website. Also interesting to read that Hugo is really good for multilingual sites. Thank you.

1 Like

That’s the true take-away for me. Hugo really does push the whole multi-language thing to the background. Every template and API call accounts for the current language. I opted for the strategy of top-level directories de, en, es, etc. under content. With the pages underneath having the same filename, Hugo will recognize them as equivalents of each other.

I also generate i18n/ files for certain UI phrases.