(this was one of the last night "white" messages as I do not know if they
will reposted automatically)

This query generated several answers and pinpointed several questions.

1 - First, WHY?
2 - Then, HOW?
3 - Next, that implies  that the application is compatible with any language
version of MI.

1 - The reason is to be able to display menus, requesters... of an
application in the same language as used in the MapInfo window without any
user's input.

2 - There is no built-in function, key-word,.. in MI that permits to find
the language of the open version. I stress that the query related to the
language MI and not in WINDOWS. One can run any kind of MI language version
on any regional/international setup of Windows. Some suggestions were
platform dependent to a certain extent (NT or win98 ...).
        conclusion : ziltch

3 - Multilingual compatibility has 2 dimensions : providing menu,
requesters... in different languages is only part of the problem. Even if it
is a uniligual application, it should be compatible with "foreign" versions.

For that, one should never use in his code any litteral calls to menus ...
but only numeric  IDs. As I am not too sure of the extents of the different
translations, I would recommand to use numeric codes for everything that is
found in the MNU and DEF system files.


I did not like that totally null answer to 2- . For my own satisfaction, I
have written a short function that returns ENG, FRA, GER and UNK based on
the first 10 characters of the name of the menu created by the first "create
menu" present in the MAPINFOW.MNU file. (It is the e-mail send menu).
Restriction : it applies only to version 4 of the MNU file. I am pretty sure
that version changes could be accomodated by reading it in the file header.

I can provide it to anyone who is interested. I would also like to add to
those languages any other one at the condition that I am provided with
either the MNU file or the first 10 characters as described above. Let us
make shrink the domain of the UNK (incidentally, it stands not for UNited
Kingdom).

Thanks for everybody's help and the stimulation that I received from their
mail and interest.

Jacques Paris
============================================================
e-mail        [EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
      http://www.total.net/~rparis/gisproducts.htm
============================================================

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to