Hi dear Nikos, I'll try to explain about this matter of language, because I see that there is a misunderstanding and I hope I will not be talking something wrong (someone correct me then).
And as our colleague has already expressed, there is no any prejudice about any language within the HMG. There is a limitation languages for
internal messages of HMG and
HMG IDE. But this is because there are several reasons to resolve this issue:
When I say "internal messages of HMG" I refer to all messages (informational and error ones) of functions that were created in HMG. These messages do not include the Harbour internal ones or MinGW compiler ones nor any other external library that can be added to your project. To display the internal messages, the HMG currently makes use of its own source code. And these "translations" that are in various languages, thus demanding conditions of various items in the code and this is a very important point that must be seen and re-evaluated in order to be detached from the source code. Instead, perhaps as a solution, in the future there may be a file (perhaps. INI) for each language. But there will always be another problem.
Who do these translations? Given that, no one knows ALL the languages of the world to perfection and even utilizing the "Google Translator", not everything is translated efficiently. So we have to appeal to our good colleagues of each country to compose so altruistic native language and thus enrich our beloved HMG.
Messages of IDE, if you notice, has a. INI for each available language. But that was because there were users who provided their translations from English into their native language and that are available still today. If by chance you want to contribute for greek language, I do not see why not HMG use it in next version upgrades.
quartz565 wrote:Am I correct to understand that the SET LANGUAGE TO GREEK is not supported ?
So, when Dr. Soto said is not supported perhaps he is referring to is not supported in these terms that I just explained. But all the messages that you would put in your applications (in your case in the Greek language) and even better in UNICODE version, will appear exactly as you put in your source code. So we can not say that the Greek language (or any language) is not possible to display in your applications. Ok ?
(as I get a compilation error when I use it - Pablo, I compile with ANSI-IDE (HMG 3.1.5) )
Dear Nikos, my suggestion is to forget about ANSI version. Now is discontinued. UNICODE mode is more practical and garanteed use for several languages. I understand that you have already made in ANSI because you made it a long time ago, but I suggest to convert all your source files redoing all greek messages and we can work on together. Otherwise will be very dificult to give you support with the new enhacements of new version of HMG.
If I do not define it (SET LANGUAGE TO GREEK ) what is my loss ?
As I said, not loss will ocurr if you use in UNICODE and you write in you sorce code in greek BUT you source editor (lets says: Notepad++) MUST be in UTF-8 format.
Only the messages of Harbour and HMG to language GREEK are not shown ?
As I said, Harbour will be displayed in English, but this is no usual messages. Only is displayed when an error ocurred or at any special situation (I do not remember now). And for internal messages of HMG, probably in the future, you can add a greek language into your library.
or I am missing something else as well ?
Well there is a lot to learn about actual HMG version and also HMG is growing up with all of our experiences together. So I believe we are in the right way by UNICODE mode thanks to our good colleague Dr. Soto and all the staff of forum members.
I have also noticed that SET LANGUAGE TO ENGLISH or SLOVENIAN works! Is there something affecting ONLY the GREEK?
I am sorry, but there are only these languages avaliable and probably most of then not updated. Because new functions have been avaliable during new HMG releases.
SET LANGUAGE TO <cLanguage> is allowed:
- ENGLISH
- SPANISH
- FRENCH (codepage not)
- PORTUGUESE
- GERMAN
- RUSSIAN
- ITALIAN (codepage not)
- POLISH
- BASQUE (codepage not)
- CROATIAN (codepage not)
- SLOVENIAN
- CZECH (codepage not)
- DUTCH (codepage not)
SET LANGUAGE TO <cLanguage> is NOT allowed in HMG:
- GREEK
- UKRAINIAN
- BULGARIAN
- HUNGARIAN
- HUNGARIAN
- SLOVAK
- TURKISH (not in HMG and HMGS/MINIGUI)
Rest of languages (total of 130 languages) is also missing for HMG and HMGS/MINIGUI
I hope I have been able to contribute the best clarification possible and hopefully not wrong in my settings or some concept.