Translation Memory

Upcoming Changes to Translation Memory Management - Advance Search

Smartling is about to introduce an asynchronous searching framework that will allow you to perform time-intensive searches without causing frustrating timeouts. There are three different methods for source string and target string search in the TM.

Basic

The basic search option behaves the same way as our existing search. A search for “running”, for example, will return results that include “running”, “run”, “runner”, and other variations of the search term.

Exact

Exact match only returns strings that include the exact characters in the search string, including punctuation, HTML tags, etc. A search for “running” would only return strings that include “running” and would not return strings that include “runner”, “run”, or other variations.

Regular Expression (Regex)

Regex is a very powerful system for defining search patterns. With the Regex tab, you can enter a Regular Expression for either source or target strings. Smartling will use the provided Regex search pattern to return results. For example, you could search for strings that begin with “Running” by entering “^Running”, strings that end with “Running” by entering “Running$”, and anything in between! You can find a quick overview and cheatsheet for Regex here.

 

Considerations

Find and Replace

The Find and Replace modal will continue to pre-fill the "Find" field with the target word, characters, or Regex. Keep in mind that Find and Replace currently runs using exact match only. An update to this is in progress.

This means:

  1. You cannot Find and Replace using Regex searchScreenshot_2021-10-11_at_16.58.50.png
  2. Find and Replace will only run on a subset of basic search results
    • In a search for "run", strings with "running" may be included in the results, but Find and Replace would only replace exact character matches for "run". 

To prevent unintentional widespread changes, the Find and Replace function will be updated so that it only works on Exact target keyword results. This will give users better visibility into the strings that will be updated.

Incomplete Results

At the end of each search, there is a one or two-second lag period where Smartling is still indexing the search results. If a user rapidly selects all results and performs a bulk action (move, find and replace, etc.) there's a chance that the last few remaining strings will not be included in that action. The risk here is low, and a fix is in progress. Until then, it is best to wait a couple of seconds before performing a bulk action.

Limit One Simultaneous Search Per User

Because a search on large TM's, can be very intensive, there is a limit of one active search per user. If you have a search running and begin a new search in a separate tab, the original search will stop automatically. 

Limit Five Simultaneous Search Per Account

There is also a limit of five active searches per Smartling account to prevent performance issues. If five other users in your account are already running searches, but depending on the size of your TM's and the currency running searches, you’ll see an error message. However, you should be able to retry relatively quickly. 

Search Link Expiration

To prevent re-running complex searches, Smartling search results via a search UID in the URL. This URL can be shared between Account Owners and Project Managers without having to wait for lengthy searches to complete. Smartling will clear these cached search results every seven days. If you visit the URL of a search that is no longer cached, Smartling will rerun the search. However, bear in mind, the search results returned may be different after seven days.

10,000 String Limits

Smartling will only return the first 10,000 string results. This limit exists both in the UI and API. 

Was this article helpful?