Create a Multilingual Form

Follow this procedure to include more than one language in a single form.

  1. Using Visual Studio, create a resource file for the language.
    Example: MyResourceFile.resx
  2. Add values to the resource file.
    • The key is the value used in the form's markup.
    • The value is the display value in runtime (Flowtime).
  3. Translate the resource file to your language, and save it with the corresponding extension.
    Example: For Portuguese: MyResourceFile.pt.resx
  4. Copy the resource files to the application's App_GlobalResources directory.
    The App_GlobalResources directory is located in the application root directory. If the directory does not exist, you should create it. For example, in the default Flowtime installation, the path is: C:\inetpub\wwwroot\Workflow Runtime\App_GlobalResources.
  5. In a form, use the keys in an expression.
    Example: sq:Label runat="server" Text="%$ Resources: MyResourceFile, LabelText %" /