Take a look at this thread @jugleni, using a keyed array to accomplish translations.
There have been a few interface updates since but should not be too difficult to work out.