Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A pseudo translator is a piece of code that "translates" text in an automated manner. For example, it may convert all source text to upper case, inject special characters or make the translation longer or shorter. Such approaches are commonly used by software localization teams during development and testing. They are also useful to simply test Beebox translation workflows without having to resort to real translators or (slower or cost incurring) machine translation.

...

  1. Add a class that extends BeeboxPseudoTranslator.
  2. Code the Translate() method. It receives a source text and returns the translated text.
  3. Compile and install your dll.

The code below is a sample implementation. All interface methods are verbosely commented and should be self-explanatory.

Sample class

The Beebox extension below adds a simple pseudo translator that converts source text to uppercase.

...