Skip to main content

Rigi Documentation

Prepare for capturing HTML previews for WPF applications
  1. Create a Rigi project on the Rigi server, assign files to the workspace, select the parsers, align, etc. For details, see the Create a project guide.

  2. Ensure the following project settings.

    1. Settings > Project > General > Application pattern = WPF.

      1.png

    2. Settings > Context > String recognition > Rigi token format = Default.

      2.png

  3. Click Workspace > Approve translations.

  4. Click Workspace > Download Files > Files with Rigi tokens.

    3.png

The Rigi locale must be installed so the Rigi localization bridge can recognize the localizable strings in the user interface.

Adapt the staging WPF app that will be used to capture HTML previews so that it can select the Rigi language.

  1. Ensure you have a valid license installed for WebSnap for WPF. For details, see the Install the Rigi WebSnap tool guide.

  2. Open the Rigi WebSnap.

    4.png

  3. Select File > New.

    5.png

    1. Select the WPF Platform.

    2. Give the project a name and select an empty folder.

  4. Click Next. This will open the project settings.

  5. In the WPF Application display.

    6.png

    1. Enter the path to the WPF exe (that includes the Rigi language).

    2. If applicable, enter the arguments that must be passed when the WPF exe is started.

  6. In the Server display.

    7.png

    1. Enter the location of the project on the Rigi server. 

    2. Enable the Automatically upload previews option to immediately upload each captured HTML preview to the project on the Rigi server.

  7. In the Advanced display, you can define in which subfolder the HTML previews must be written (the default is screenshots).

    8.png

Coverage information

The source strings repository is a file that contains all strings in the Rigi project.

This file can be generated with the rigi.exe command line tool or the Passolo add-in. If the string is not defined, strings without a preview are not shown during capturing. In that case, use the coverage information on the Rigi server.