Hallo !
Das geht in vtcl nicht, ich habe einen Workaround gefunden, indem ich
alle texte als symbole setze und diese dann entsprechend einer ENV-variable
ausf�lle.
z.B.:
if {$env(LANGUAGE) == "german"} {set variable "Knopf"} else {set variable "Button"}
button $path -text $variable
Dies bedingt leider eine nachtr�gliche �nderung des vtcl-codes.
Ich benutze vtcl nur zum Design und h�nge dann die Prozeduren manuell
mit meinem eigenem tcl-Editor hinein.
Gru�
Michael
----------
From: Norbert Weissenberg[SMTP:[EMAIL PROTECTED]]
Sent: Donnerstag, 2. Oktober 1997 08:51
To: [EMAIL PROTECTED]
Subject: [vtcl] Internationalization
Hi,
how can a VTCL generated interface best be internationalized, which
mainly means switching between German and English texts in labels and
buttons:
- via a ressource file
- via using associative arrays or functions in -label/-text-arguments
I tried the latter, but it does not behave well under vtcl 1.10.
-Norbert-
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).
application/ms-tnef