Browser extension
Soluling Picker is a browser extension for Google Chrome and Microsoft Edge. Click a text on any web page of your application, and its string opens in Translate. It works on any build of the application, the production site too, without changes to the application.
It is useful when you see a wrong or too long translation on the site and want to fix it now, without searching for the string. To translate a whole application in context, with the editor next to the text and the page updated in place, use in-context translation with an in-context build.
How it works
The extension reads the strings of the project you choose, with their translations in the language the page shows. When you click a text, it compares the text with them and opens the string that has it. It doesn't need the hidden ids of an in-context build: it finds the string by its text.
- A text matches when it is the same as an original or a translation, also without case, extra white space, or HTML tags.
- A text with placeholders, such as
{0} files selected,%d items, orHello {name}, matches whatever the application put in their place. So do the plural, gender, and select forms of a string. - When several strings have the text, for example OK, the extension asks which one you mean.
Install and sign in
- Install Soluling Picker from the Chrome Web Store, or from Microsoft Edge Add-ons for Edge.
- Click the Soluling button on the browser's toolbar, and Sign in to Soluling. Sign in with your Soluling account in the window that opens (with your two-factor code, if you use one) and approve the extension.
The extension then works as you: it sees the projects and languages you see. You can disconnect it on the Connected apps page of your account.
Pick a string
- Open the page of your application.
- Click the Soluling button. Choose the project and the language the page shows: the extension chooses the language from the page if it can, and remembers the project for the site.
- Click Pick strings on this page. A box at the bottom right shows how many texts of the page the project has.
- Move the pointer over the page: the texts that the project has are framed. Click one, and its string opens in Translate, in one tab that the next click reuses. Edit and save it there.
While picking, a click on the page doesn't press buttons or follow links. Click Pause to use the page normally; Alt+click still picks. Click Refresh after you have added or changed strings, and press Esc to stop.
When the translation reaches the page
The extension doesn't change the page. The saved translation shows on the page when your application gets it: after its next build and deployment, or, if the application loads its files over the air, after the project is published.
A text that you have just changed in Translate doesn't match its string until the page shows the new translation, as long as the page shows the old one. Click a text that the page shows, or search for the string in Translate.
What can be picked
- Texts in the page, and the
title,placeholder,alt, andaria-labelattributes, and the text of input buttons. - Not texts that are not on the page: the page title, alert boxes, and texts drawn on a canvas or in an image.
- Not texts that your code builds from several strings, or that come from somewhere else than the project, such as a database.
- Not texts inside frames, or on the browser's own pages and the extension stores.
Security and privacy
- The extension runs on a page only when you click its button, and only on that tab. It reads nothing of the page before that.
- It sends nothing of the page anywhere. The texts are compared in your browser: the extension reads the project's strings from Soluling, and opens the clicked string's id in Translate.
- You never type your password in the extension: you sign in in a window of soluling.com, and the extension gets a sign-in that you can disconnect at any time.