Depends on whether you want to use the mic insert on the PC or external hardware and send the voice info to the PC.
The latter is probably doable for word recognition but not translating whole sentences.
The reason people are discouraging you is because the very basics of this topic might be material for a senior undergrad course or a graduate course, and considering you said you were a semi-beginner programmer, you probably aren't quite ready for something of this magnitude.
Before even starting to code anything you will have to learn quite a lot of theory. As Ezzaral said, you need to study audio signal processing to begin with. If your goal is to recognize single words through training, then you will probably need to learn about neural networks as well.
I would say that if you are trying to recognize speech in sentences - trying to do this with a decent accuracy would make for a good graduate thesis... if it was a fairly trivial problem, we would already have near perfect speech recognition, but instead the best we have is some fairly clunky speech recognition that only works somewhat well when it is trained a lot, and even then it will only work with that one person and with little to no background noise.
Hellow, I think we have the same problem, I am planning to develop a speech to text pure Filipino- Filipino dictionary, it is for my fourth year research and development project please send me some advise at email@example.com,