You might be interested in this "How do I" article:
Create a Basic Language Service Using the Managed Babel System