dr-geo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dr. Geo] [Bug 1801497] Re: French DSL


From: Hannes Hirzel
Subject: [Dr. Geo] [Bug 1801497] Re: French DSL
Date: Mon, 05 Nov 2018 11:58:03 -0000

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.

-- 
You received this bug notification because you are a member of DrGeo
developers, which is subscribed to Dr. Geo II.
Matching subscriptions: Dr. Geo bug report
https://bugs.launchpad.net/bugs/1801497

Title:
  French DSL

Status in Dr. Geo II:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/drgeo/+bug/1801497/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]