Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
dev:translator_development_outside_scaffold [2010/07/24 17:05] – sync with my emacs buffer tomrochewiki | dev:translator_development_outside_scaffold [2010/07/24 23:34] – more tomrochewiki | ||
---|---|---|---|
Line 59: | Line 59: | ||
===== Create or modify a translator file ===== | ===== Create or modify a translator file ===== | ||
- | One can | + | One can generate a completely new translator file using Scaffold 2.0. |
- | | + | |
- | | + | - In tab=Metadata, |
+ | - In tab=Code, enter a '' | ||
+ | return " | ||
+ | } | ||
+ | </ | ||
+ | - Click on icon=Save (second from upper left). | ||
+ | - Check your translator filespace: you should have a new file with name based on field='' | ||
+ | - Close Scaffold. You may do all subsequent work directly on the new file. | ||
+ | |||
+ | However it is usually easier to create a new translator by copy/ | ||
+ | | ||
+ | - " | ||
+ | - in the metadata block, | ||
+ | * create a new '' | ||
+ | * make the value of the '' | ||
+ | - in the code section, clear out any undesired contents from the '' | ||
+ | - somewhat " | ||
+ | - Find an existing translator with functionality that resembles what you want. | ||
+ | - Copy that to a new file in your translator filespace. | ||
+ | - Open the new file and | ||
+ | - change the metadata field='' | ||
+ | - assign a new value to field='' | ||
+ | - change the '' | ||
===== Edit, run, test, debug ===== | ===== Edit, run, test, debug ===== |