Soluling home   Document home

SoluPick

SoluPick brings in-context editing to Windows applications. Run your application in a target language, hold Ctrl, and click a text. SoluPick finds the string the text comes from and selects its row in the project open in Soluling, in the language the application shows. You see each translation in its real place, and you find the string by clicking it instead of searching for it.

SoluPick can also open the string in Soluling Cloud instead, and take screenshots for Soluling Cloud with every string marked. Those are described in SoluPick on soluling.com.

What you need

Soluling's setup installs SoluPick in the same folder as Soluling and adds SoluPick to the Start menu.

Translate in the running application

  1. Turn on hidden ID injection in the project build options, and build the project. If you use SoluMake, give it the -incontext option. After a build with hidden IDs, Soluling offers to start SoluPick.
  2. Start SoluPick, if it isn't running: click SoluPick in the General group of the Translate tab, or start it from the Start menu. Its icon appears in the notification area of the taskbar.
  3. Run the application in a target language, for example Finnish.
  4. Hold Ctrl and point at a text. A purple frame shows a text that can be picked, a gray frame one that has no hidden ID.
  5. Ctrl+click the text. The first time you pick from an application, SoluPick asks where you translate it. Choose Soluling Desktop. SoluPick remembers the choice for that application.
  6. Soluling selects the string's row, switches to the language the application shows, and comes to the front. Translate the row as usual.

The click itself doesn't reach the application, so a button isn't pressed. If a control has several strings, for example a text and its tooltip, a menu asks which one you want. Ctrl+Shift+click opens the string in the other place, Soluling Cloud, this time only.

Which project and which language

The translation is saved in the project. The running application still shows the old text: it shows the new one after you build it again.

Delphi applications

SoluPick reads the texts through Windows UI Automation, so most applications need no code changes. Delphi VCL labels and other controls that draw their text themselves, and all FireMonkey controls, are not visible there. Add the NtInContext unit (VCL) or the FMX.NtInContext unit (FireMonkey) of the Delphi library to the in-context build, and SoluPick asks the application itself for the text under the click. The units have no functions to call, and they answer only for texts that have hidden IDs, so you can leave them in your production build.

uses
  NtInContext;

SoluPick's menu

Right-click SoluPick's icon in the notification area to turn picking on or off (also Ctrl+Alt+P), to choose where picks from the last application open, to pick with Ctrl+Alt+click if your application uses Ctrl+click itself, to start SoluPick with Windows, or to quit it.

Note! SoluPick can't pick from an application that runs as administrator unless SoluPick runs as administrator too, nor from an application in another Windows session such as Remote Desktop. Texts that a control draws itself, such as in owner-drawn grids, can't be picked.