[Mono-dev] Program Option Parsing Library

Rafael Teixeira monoman at gmail.com
Fri Jan 11 13:37:41 EST 2008


2008/1/11 Jonathan Pryor <jonpryor at vt.edu>:
> Now how should localization be handled?  Should it?
>
>  - Jon

Well to not either over-engineer the code (creating another
ITranslator interface)  or put a dependency on translating-aware
libraries like Mono.Addins, you can simply define a delegate like

delegate string TranslateIt(string original);

and receive it as a parameter on Parse or some other (?Init) method.

-- 
Rafael "Monoman" Teixeira
---------------------------------------
"I myself am made entirely of flaws, stitched together with good intentions."
Augusten Burroughs



More information about the Mono-devel-list mailing list