11-25-2022, 05:39 PM
(This post was last modified: 11-27-2022, 07:30 AM by mnrvovrfc.
Edit Reason: Proposed something
)
Somebody created a Pascal compiler where the keywords are Portuguese... but I didn't check into it. The original author of Turbo Pascal could have done it in his language to keep it to himself...
Otherwise if somebody wants a BASIC dialect with keywords other than English, he/she would have to take it upon himself/herself. Obtain the QB64 source code and see what could be done. It's going to be much more than search and replace.
Somebody asked on this forum if QB64 could be presented in a language other than English, which is "less popular" than French or Spanish. Sadly it is emphasized that if he/she really, really wants it, he/she would have to act on it and if he/she prefers to wait on things, it could take too long to bear. This is also expected from payware -- try to reach as many "customers" as possible that could know one language.
Changing the language of the menus and help files of the IDE, and the error messages that QB64 gives out is possible using the "gettext" system which might have to be added with Unicode support. It's going to be limited however by the "locales" used by the GNU Compiler Collection (gcc) of which "g++" is part of, and from which MinGW on Windows is a derrivative. In other words, if the user also wants to change out of English the C++ compiler and linker error messages, he/she would have to deal with that side of things.
"Syntax error on line xxx" or "Illegal function call" or "Array subscript out of bounds" or something like that could be changed from English easier than "In file xxx conversion from this pointer type isn't allowed here" or something else. Don't spend my time memorizing errors, warnings, hints etc. from "g++" or any other mysterious compiler like that.
LOL but how about changing C/C++ out of English keywords? "principal() { emitef("Hola mundo!\n); }" or something further could take much more to type, and with marks on letters and stuff like that.
EDIT: A further post in this topic might be a better solution.
Otherwise if somebody wants a BASIC dialect with keywords other than English, he/she would have to take it upon himself/herself. Obtain the QB64 source code and see what could be done. It's going to be much more than search and replace.
Somebody asked on this forum if QB64 could be presented in a language other than English, which is "less popular" than French or Spanish. Sadly it is emphasized that if he/she really, really wants it, he/she would have to act on it and if he/she prefers to wait on things, it could take too long to bear. This is also expected from payware -- try to reach as many "customers" as possible that could know one language.
Changing the language of the menus and help files of the IDE, and the error messages that QB64 gives out is possible using the "gettext" system which might have to be added with Unicode support. It's going to be limited however by the "locales" used by the GNU Compiler Collection (gcc) of which "g++" is part of, and from which MinGW on Windows is a derrivative. In other words, if the user also wants to change out of English the C++ compiler and linker error messages, he/she would have to deal with that side of things.
"Syntax error on line xxx" or "Illegal function call" or "Array subscript out of bounds" or something like that could be changed from English easier than "In file xxx conversion from this pointer type isn't allowed here" or something else. Don't spend my time memorizing errors, warnings, hints etc. from "g++" or any other mysterious compiler like that.
LOL but how about changing C/C++ out of English keywords? "principal() { emitef("Hola mundo!\n); }" or something further could take much more to type, and with marks on letters and stuff like that.
EDIT: A further post in this topic might be a better solution.