French DSL
Bug #1801497 reported by
hilaire
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dr. Geo |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
The DrGeoSketch class is extended with method names in French to write DSL Smaltalk Sketch in French.
What about definining a DrGeoFigure subclass of DrGeoSketch and put there the methods with French names?
Related to #1621397
Related branches
Changed in drgeo: | |
milestone: | wip → 19.03 |
Changed in drgeo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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 leNames: 'drgeo' ames: '' Core-Script'
instanceVariab
classVariableN
poolDictionaries: ''
category: 'DrGeoII-
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.