Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Nested sealed class: RT.Lingo.Lingo.TranslationFileGenerator

Summary

Contains utility methods to generate C# code for translation strings required for automated translation of forms and controls.

Constructors

TranslationFileGenerator(string filename)
Constructor.

Instance methods

void
  • Implements: IDisposable.Dispose()
Generates the file.
void
TranslateControl(Control control, object translation)
Translates the text of the specified control and all its sub-controls using the specified translation object, while simultaneously generating C# code for the required translation strings.
void
TranslateWindow(Window window, object translation)
Translates the text of the specified WPF window and all its sub-controls using the specified translation object, while simultaneously generating C# code for the required translation strings.