You asked
How does the 17mm f 1 2 compare with a 50mm f 1 8 for low light portraits on a budget?
The site has no 17mm f/1.2 lens, so it can't compare that one directly. The closest it lists is the TTArtisan 17mm f/1.4, a prime for APS-C cameras. For low-light portraits, though, the guide would pick the 50mm.
The portraits page calls the 50mm f/1.8 "the cheapest great lens in photography" and says that if you buy one lens for people, this is the one. On APS-C it behaves like a classic 75-80mm portrait lens, which gives flattering framing. The 7Artisans 50mm f/1.8 is one example. It is manual focus, not stabilised, and made for APS-C in Sony E, Fujifilm X and Micro Four Thirds mounts. Manual focus is slower to use with moving subjects, so it suits posed portraits better than fast action.
A 17mm is a wide lens. Close to a face it exaggerates the nose and the features nearest the camera, which the portraits page warns against. It suits environmental shots that show the setting, not tight headshots. Its wide view also means you need to stand close, so it's better for scenes than for isolating a face.
On a budget, the guide's advice follows its first-camera page: put money into a cheap fast prime before a bigger body. The guide's pages I have don't give current prices for these lenses, so I can't say which one fits your budget. Check the catalogue pages for prices, which change.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.