Hi,

I want to create a method programmatically.  However, if the developer
is not using english it won't work properly.

If (Nil($table_ptr))
FORM GET PROPERTIES($formName_t;$width_ptr->;$height_ptr->)
Else
FORM GET PROPERTIES($table_ptr->;$formName_t;$width_ptr->;$height_ptr->)
End if

Si (Nil($table_ptr))
FORM LIRE PROPRIÉTÉS($formName_t;$width_ptr->;$height_ptr->)
Sinon
FORM LIRE PROPRIÉTÉS($table_ptr->;$formName_t;$width_ptr->;$height_ptr->)
Fin de si

I can use Command Name to do this:

Command name(674) is FORM GET PROPERTIES and FORM LIRE PROPRIÉTÉS
Command name(315) is Nil

How do I account for
If vs Si
Else vs Sinon
End if vs Fin de si

etc

I was hoping to use Get indexed string (utilising the numbers found
here - 4D_LangEditKeyWordsEN.xlf from the application
resource/en.lproj:

$If_t:=Get indexed string(34;1)
$Else_t:=Get indexed string(34;2)

Unfortunately that doesn't appear to work.

In Foundation currently the code does a lookup based on lists that
have been pre-populated, I was hoping for something more
generic/automatic than that.


Regards,

Wayne
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to