French DSL

Bug #1801497 reported by hilaire
8
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

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.

Revision history for this message
hilaire (hilaire-fernandes) wrote :

Added DrGeoFigure class, subclass of DrGeoSketch, with French method names.

Changed in drgeo:
status: New → Fix Committed
Changed in drgeo:
milestone: wip → 19.03
Revision history for this message
hilaire (hilaire-fernandes) wrote :

I am not sure there is interest for other native language. Therefore I keep it that way for now.

Changed in drgeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.