Upcoming Improvement to Translation Memory 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:
The keyword 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.
Character search 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 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 cheat sheet for Regex here.
Regex search is asynchronous. Please allow some time for your search results to be returned. A search progress bar will display across the top of the results section. See limitations for more information.
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 keyword search only.
- You cannot Find and Replace using Regex search
- 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, and to give you better visibility into the strings that will be updated, the Find and Replace function in only enabled if you do the following:
- individually select one or all strings on a page and/or
- use character search with any active keyword searches, for example
- source is blank; translation is character search
- source is character search; translation is blank
- source and translation are character
- any other combination means find and replace is disabled
Limit One Simultaneous Search Per User (RegEx only)
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 Two Simultaneous Search Per Account (RegEx only)
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 (RegEx only)
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.