Comment 1 for bug 1801497

Revision history for this message
Hannes Hirzel (hannes-hirzel) wrote :

What about a 'Data objec' or 'Spec object' which indicates which English method name corresponds to which french method name. This could be done by suppyling a sourceString which contains a CSV version of the method equivalences.

Then the DrGeoFigure may be generated by a simple script as

Object subclass: #DrGeoFigure
 instanceVariableNames: 'drgeo'
 classVariableNames: ''
 poolDictionaries: ''
 category: 'DrGeoII-Core-Script'

A generated method of a DrGeoFigureg object then sends the English method equivalent to a DrGeoSketch object.

This will allow to easily extend the number of translations by having translators to come up with a CSV list of method equivalents only. Translators do not need to be Smalltalk programmers.