coding interface for c++

closed account (1v5E3TCk)
Sorry for the title, I couldnt find a more meaningful one.

Here is my question:

I want to make a Turkish translation for C++.
I want to be able to say "eger( 2*2 == 4) instead if( 2*2 == 4 )" but I dont know how can I do it or if it is possible. What do you think about it, is it possible?
Yes, it is possible, but it's strongly disrecommended. It'll make your code much harder to read, and there does seem to be an unwritten rule somewhere that most code should be written in English (if not necessarily for English, if you get my meaning).

-Albatross
closed account (yADwAqkS)
I don't really see how it would be wrong to change it to another language. If you understand that language better, then it would make it easier to understand the code. I think it would be a good idea.
closed account (N36fSL3A)
But then no one else would be able to understand. It'd be harder to get help. Just leave it alone.
closed account (yADwAqkS)
Well, yeah I didn't think of that, sorry.
closed account (N36fSL3A)
Well nothing to be sorry about, I wasn't trying to sound hostile or anything, the last sentence was towards senhor, but in a respectful way.

I'm actually sorry for implying hostility.
If you're really desperate you can just have a bunch of #defines for the keywords if you want. That way if someone else really wants to read your code, they can just go through all the files finding and replacing, but that's only if you really want to be in a different language
closed account (1v5E3TCk)
using #define isnt a good approach I think.

I think coding in your own language can help you when you are learning it. AFter learning the concepts you can return to original language. I want to provide a turkish language to beginners
Topic archived. No new replies allowed.