To use this UFL you need to register it with .NET. That is done using the regasm command line tool.
It is usually found at the following path but the exact path will depend on the version of .NET
installed on your computer:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe

To register the UFL, open a command prompt and run the install.cmd file in this same folder.
You may need to update the path to regasm.exe on your computer in order to get it to work.

This UFL only works with Mira builds of Crystal Reports.

Once you have Mira Crystal Reports installed, you can create a formula that makes use of the
new UFL, like this:
  DotNetSampleClassTestTranslate ("Country","en_CA" , ContentLocale)

The first parameter is the text to translate, the second parameter is the locale
of the source text and the final parameter is the desired locale to translate to.

The ContentLocale function returns the Preferred Viewing Locale of the current user.

A sample report (Locale Usage.rpt) is included which shows how to create a multilingual report using this UFL.