Just out of curiosity, do people really want to use multi-lingual programming languages?
Yes there are, otherwise this thread wouldn’t exist. Actually it seems there are even people interested in mono-lingual programming languages based on [non-English languages](Non-English-based programming languages). Although, this is not the approach I’m looking for, and an internationalized compilation stack would be far more interesting as far as I’m concerned.
that such a thing would make life harder then just learning the few keywords (which are similar in all programming languages).
It all depends the use case. For example you probably wouldn’t use scratch to build your new OS, but it allow good introduction to programming with an interface whose translation is rather obvious.
All the more, the few keywords are just the flake on the edge of the iceberg. Otherwise, just letting user alias every keywords would be enough. Actually, a feature as simple as aliasing would already a huge step, but few language enable an extensive aliasing which include reserved keyword aliasing, plus the question of whether you can otherwrite or not an existing reserved keyword.
An internationalized programming language should lead to the same AST whatever the lexicon you are using. Surely it should be even possible to provide a tool which can provide high level translexicalisation of any localized Rustacean source to any other localized Rustacean source when the environment has the variable “LANG” set to it, including “DE” and “EN” (or possibly “C”).
The main problem I see is that talking with others and getting help for example would become much harder, because every time one needs to translate forth and back into/from the English version of the language.
It all depends of the language community size. The hypothesis under the previous claim is a chicken or egg problem. You only find helpful resources in English because only English is used for that kind of work so you will use English too.
And getting help on IRC or here, is a very fundamental thing in the Rust community.
That’s fine and I see there are some canal dedicated for languages other than English. For those who can speak English, it’s fine to be able to find a community willing to help you, and if you don’t, it’s still fine if you can get help.
I am from Germany, but I would never ever consider to use a wenn - dann conditional statement, for example.
Then it’s good for you. But maybe there are people out there who don’t speak English and would like to resolve programming problems without having to add the burden of learning such a complex speaking language as English additionally to the one of learning to program and develop a programming solution.
The only ‘language’ where I have seen this in real life is in Excel formulas and it comes exactly with the problems I have described above and some inconsistencies between English and German version if I remember correctly.
Well, that’s why a single specified AST target is important. Without more precise information on this inconsistencies, it’s hard to utter anything really more relevant.
Thank you for sharing you feedback and concern @kunerd