our blog

How to Quickly Replace Straight Quotation Marks with Chevrons in Trados Studio

How to Quickly Replace Straight Quotation Marks with Chevrons in Trados Studio - 1

All straight quotes in the text can be changed to chevrons with one command

From time to time, there is a problem: in the long text, you have to change all straight quotes ("") to chevrons, aka guillemets («»). It’s difficult to do with the help of the Find and Replace feature: opening and closing straight quotation marks are the same symbols, whereas opening and closing chevrons are different symbols.

It’s difficult to determine whether a straight quote must be turned into an opening or closing chevron. Supposedly, this might be indicated with the help of spaces: the “space + straight quote” combination is to be replaced with the “space + opening chevron” option, and the “straight quote + space” structure must be converted into “closing chevron + space.” However, if you try to perform such a replacement, very soon you’ll find that this rule has so many exceptions that it is easier to change straight quotation marks to chevrons manually.

Nevertheless, there is a quick semi-automatic replacement method. It is based on the use of paired quotation marks: if the text contains one opening quote, there must also be the closing quote of this pair.

We are going to fish out paired straight quotation marks with the regular expressions. In Trados Studio, press the Ctrl + H combination and customize the displayed Find and Replace dialog box as shown:

How to Quickly Replace Straight Quotation Marks with Chevrons in Trados Studio - 2

Enter "(.+?)" in the Find what field, put «$1» in the Replace with field, and don’t forget to select the Regular expressions checkbox in the lower part of the window.

Press Find Next, and Trados Studio will find the closest fragment enclosed in straight quotes. Press Replace to turn the quotes into chevrons (with the text inside remaining); after that, the next fragment will appear.

Of course, there are some exceptions. In certain cases, this request misses the mark:

  • When the text inside the quotes contains tags (after the replacement, the text remains, but the tags are gone).
  • When the text contains a mistake: either the opening or closing quote is missing.
  • When the fragment is big, the opening and closing quotes of the pair are located in different segments.
  • When at least one quote is used as a symbol for an inch.

Therefore, one can’t simply place their faith in the Replace All key. Go through all the cases by pressing Replace and checking the replacement. This is faster than changing quotes manually anyway.

Recommended content

How to Quickly Replace Straight Quotation Marks with Chevrons in Trados Studio - 3

How to use the ampersand and how is it different from and

A little bit on how & is different from and The ampersand is a ligature that the Latin conjunction et, which means and, has been transformed into. Once upon a time, the ampersand was even considered the 27th letter of the alphabet. When pronouncing letters in the alphabet, it was ended with the words and […]
How to Quickly Replace Straight Quotation Marks with Chevrons in Trados Studio - 4

How to split a large Trados Studio file into multiple parts

About splitting a large file into multiple parts How to split a large Trados Studio file into several parts: ➕ The plugin is free, simple, and effective. Trados Studio is not needed at all. ➖ It is better to use it only for splits, there are problems with merges. * * * ➕ Always works […]
How to Quickly Replace Straight Quotation Marks with Chevrons in Trados Studio - 5

T9N, L10N, I18N, G11N, C13N, M17N, V8N

Some slang abbreviations from the localization field Let’s check some slang abbreviations from the localization field. All of them are based on the principle of “taking the first and last letters of a word, cutting out the middle, and writing the number of the cut out letters instead.” These terms are vague, and their meanings […]
How to Quickly Replace Straight Quotation Marks with Chevrons in Trados Studio - 6

How to enter characters that are not on the keyboard

About ways to enter characters that are not on the keyboard If you’re working on Windows and need to type something that isn’t on the keyboard, press Win + ;. A small window will appear where you can choose the type of character you want (regular, emoji, or smiley) at the top and specify it […]
How to Quickly Replace Straight Quotation Marks with Chevrons in Trados Studio - 7

How to fix the “Value cannot be null. Parameter name culture” error in Trados Studio

About another error in Trados Studio If you create a project in Trados Studio and when asking to see a preview of the file, it says that you are not cultured enough, Value cannot be null. Parameter name: culture —ignore it: the project will be created properly and everything will be fine. It’s only the […]