Skip to main content

How to set typography rules per language: no-break spaces, Fix typography while typing and the Typography QA check

French and some other languages put a special space before certain punctuation marks and inside guillemets (« »): Vous venez ? and « le rapport ». A keyboard only types the plain space, so translations often get the wrong one, or none. wxrks handles this in three places: a Typography settings page where you set the rule of each target language, the wxrks Editor, which can insert the right space as linguists type, and a QA check that flags and fixes the spaces that are still wrong. This article shows how to set up the rules and how they work while you translate.

💡 Who is this for?

  • Account Admins set the rules for the account and for each Organizational Unit (a group of clients or teams inside your account), and decide whether the Editor fixes spaces while typing. Changing the account's rules requires the QA Check Settings Account Update permission, and an Organizational Unit's rules QA Check Settings Org Unit Update. Account Admins have both by default.

  • Project Managers with QA Check Settings Org Unit Update (included by default) can change the rules of an Organizational Unit, not the account's.

  • Vendors (linguists) don't open the Typography page. They see the rules at work in the Editor: spaces fixed while they type, and Typography issues in the QA results.

Contents

  • Three kinds of space

  • The rules wxrks ships with

  • Worked example

  • Set up the rules (Account Admins)

  • Override a rule for one Organizational Unit

  • Turn on the QA check

  • Fix spaces while typing in the Editor (Vendors and Project Managers)

  • Fix Typography issues with QA

  • Common mistakes

  • Related articles

Three kinds of space

The rules choose between three kinds of space. The first two never let a line break between the word and the sign, so a question mark or a closing guillemet can't end up alone at the start of the next line.

Option on the Typography page

Badge in the Editor

What it is

Narrow no-break space

NNBSP

A thin space that keeps the word and the sign together. French typesetting uses it before ? ! and ;.

No-break space

NBSP

A full-width space that keeps the word and the sign together. French uses it before : and inside « ».

No space

(none)

The sign is written right after the word, as in Canadian French Vous venez?

A plain space (the one your space bar types) is none of these. It shows as a dot when invisible characters are shown, and the QA check reports it as a plain space. To see these characters in a segment or insert them by hand, see How to show and insert invisible formatting characters in the Editor.

The rules wxrks ships with

Language

Rules out of the box

French (France) fr-FR

Narrow no-break space before ? ! and ;. No-break space before :. No-break space inside « ».

French (Belgium) fr-BE, Swiss French fr-CH, French (Luxembourg) fr-LU

Same as fr-FR: they follow the French (France) row, so a change there changes them too.

Canadian French fr-CA

No space before ? ! and ;. No rule for : or « ».

Swiss High German de-CH

No rule.

Each row applies to exactly that language and region. Unlike quotation marks, there is no fallback to the base language or to a default row: a project whose target is French (Morocco), or plain French (fr), gets no typography rule until you add a row for it. A language without a rule keeps the Non-breaking spaces mismatch checks described in How to use the wxrks QA Check Tool.

Worked example

A linguist translates The meeting is at 10:30: bring "the report"! Are you coming? into French (France). Machine translation, a Translation Memory match or a quick typist produces plain spaces everywhere. With the default fr-FR rules, here is what the QA check finds and what Fix writes:

Place in the sentence

Before (plain spaces)

After Fix

Rule applied

Before the colon

10:30 : apportez

10:30[NBSP]: apportez

No-break space before :

Inside the guillemets

« le rapport »

«[NBSP]le rapport[NBSP]»

No-break space inside « »

Before the exclamation mark

» !

»[NNBSP]!

Narrow no-break space before !

Before the question mark

venez ?

venez[NNBSP]?

Narrow no-break space before ?

The time 10:30

10:30

10:30

Left alone: a colon between digits isn't punctuation

So La réunion est à 10:30 : apportez « le rapport » ! Vous venez ? gets five spaces replaced, and the time stays as it is. The same sentence in Canadian French needs the opposite for the question mark: Vous venez? with no space at all.

Set up the rules (Account Admins)

  1. Go to Settings > Translation > Typography.

  2. Next to Editing, keep Account selected to change the rules every Organizational Unit inherits. (See "Override a rule for one Organizational Unit" for the other option.)

  3. Fix typography while typing sets whether the Editor fixes spaces as linguists type. It's off by default. When it's off here, it's off for every linguist, whatever they choose in the Editor, unless an Organizational Unit turns it on for its own projects. When it's on, it's on for every linguist until they turn it off for themselves.

Typography settings page with numbered red boxes on the Typography menu item under Translation (1), the Editing scope with Account and Org unit (2), and the Fix typography while typing switch, which is off (3)

  1. Click a language to expand its rules. The field at the top of the row (Est-ce vrai for French) is the sample word the previews use: type your own to try the rules on it.

French (France) row expanded, with numbered red boxes on Also applies to fr-BE, fr-CH and fr-LU (1), the rules for ? ! ; set to Narrow no-break space Before and for : set to No-break space Before, each with its preview (2), the « » rule set to No-break space Inside with its preview (3), and Add rule (4)

  1. Change what you need:

    • Also applies to lists the languages that follow this row. To give one of them its own rules, click the ✕ next to it: it keeps a copy of the current rules, which you can then change on its own row. Add language next to the chips makes another language of the table follow this row.

    • A sign's rule: pick the space (Narrow no-break space, No-break space or No space) and where it goes: Before the sign (the usual case), After it, or Both. The preview on the right shows the result. The trash icon removes the rule for that sign.

    • « »: pick the space and whether it goes Inside the guillemets, Outside them, or Both.

    • Add rule adds a sign. Type exactly one character that the row doesn't have yet, pick its space and position, and click Add.

  2. To add a language that isn't in the table, click Add language above the table, choose the language, then choose Own rules (you set them after adding it) or Same as an existing language (pick the language to follow). Click Add.

  3. Click Save changes, or Discard to drop your edits.

The QA check uses the new rules on its next run. The Editor reads them when a task is opened, so a linguist who already has the task open gets them after opening it again.

ℹ️ Note: A language follows one row only. You can't make a language follow one that already follows another; pick a language with its own rules.

Override a rule for one Organizational Unit

Some clients follow a different style guide, for example a Swiss client that writes Vraiment? with no space. Change the rule for that client's Organizational Unit only:

  1. On Settings > Translation > Typography, choose Org unit next to Editing, then choose the Organizational Unit. Project Managers see only this option.

  2. Expand the language and change its rules. For a language that follows French (France), switch Same as French (France) to Own rules first. You can also turn Fix typography while typing on or off for this Organizational Unit's projects only.

  3. Click Save changes. The changed rows show an Own rule badge. Every other row keeps following the account.

Swiss French row at Org unit scope with numbered red boxes on the Own rule badge (1), the rules for ? ! and ; set to No space Before (2), and Reset to Account (3)

To go back to the account's rules for one language, click Reset to Account at the bottom of its row. It takes effect right away, without saving the rest of the page.

Turn on the QA check

The rules only reach the QA results when Check typography in QA is on. It's off by default.

  1. Go to Settings > Translation > Quality & Review, choose Account or an Organizational Unit, and expand Whitespace & characters.

  2. Switch on Check typography in QA and save. The Typography rules link under it opens the Typography page.

Quality and Review settings of an Organizational Unit with the Whitespace and characters group expanded: red box 1 on the Check typography in QA switch, which is on, and red box 2 on the Typography rules link

With the check on, a target language that has a rule is checked against it instead of the Non-breaking spaces mismatch and Narrow non-breaking spaces mismatch checks. A Project Manager can also turn the check on or off for one project on its QA checks tab, as described in How to use the wxrks QA Check Tool.

Fix spaces while typing in the Editor (Vendors and Project Managers)

When Fix typography while typing is on for the account or the project's Organizational Unit, the Editor inserts the space of the target language's rule as you type a sign:

  • Type vrai? and you get vrai[NNBSP]?. A plain space you typed before the sign is replaced.

  • Type Remarque : with a plain space and you get Remarque[NBSP]:.

  • With Smart quotation marks on, type "Enregistrer" and you get «[NBSP]Enregistrer[NBSP]».

  • Press Ctrl+Z (Cmd+Z on Mac) right after the space appears to remove it and keep the sign.

Editor with invisible characters shown: red box 1 on segment 2, typed as Remarque, no-break space, colon; red box 2 on segment 3, where the typed quotes became guillemets with a no-break space inside each and a narrow no-break space before the exclamation mark

The Editor leaves these alone: a colon next to a digit (10:30, 3:1), web addresses and email addresses. It also doesn't remove spaces for a No space rule, and it doesn't change text already in the segment, such as a machine translation or a Translation Memory match. The QA check catches those.

Turn it on or off for yourself

  1. Open the task in the Editor. Vendors: on Home, open My work, click Show the files next to the project, then click the file name. Project Managers: open the project, go to Tasks and click the file name of the task.

  2. In the side panel, click the Settings tab (gear icon).

  3. Under Editing, switch Fix typography while typing on or off. Your choice is saved with your user preferences.

Editor side panel with numbered red boxes on the Settings tab gear icon (1) and the Fix typography while typing switch under Editing, which is on (2)

If the switch is greyed out, the account or the Organizational Unit has turned the feature off. The hint tells you which, for example Turned off in your Account's Typography settings. Ask your Account Admin.

Fix Typography issues with QA

  1. In the Editor, open the QA Issues tab and click Run QA.

  2. Click the Typography chip to see only these issues. Each one names the sign, the space the rule expects and the space found, for example The target's typography doesn't follow the language's rules: "?" expected NNBSP, found a plain space.

  3. Click Fix on an issue to write the right space. To fix every Typography issue of the task at once, click Fix all of this type, which also appears in the issue's ⋮ menu.

QA Issues panel with numbered red boxes on the Typography filter chip (1), a Typography issue on segment 1 marked Fix available with the message "?" expected NNBSP, found a plain space (2), its Fix button (3), and Fix all of this type (4)

Fix isn't offered on a segment that contains tags, or on a segment you can't edit (locked or reviewed). Correct those by hand. To run QA, filter, ignore issues or download a report, see How to use the wxrks QA Check Tool.

⚠️ Warning: A Fix on a segment that came 100% from a Translation Memory counts as a translator edit, the same as typing the space by hand. In the post-edit analysis that pays the vendor and bills the client, that segment then counts as a fuzzy match instead of a 100% match. If your Translation Memories hold French with plain spaces, many 100% matches can change band this way. Clean the Translation Memory before you run Fix all of this type on a large task.

Common mistakes

  • The target language has no row. Rules match the exact language and region. A project in plain French (fr) or in French (Morocco) gets no rule until you add that language, for example with Add language > Same as an existing language > French (France).

  • Changing French (France) to fix one region. fr-BE, fr-CH and fr-LU follow French (France), so the change reaches them too. To change only one, remove it from Also applies to (or switch it to Own rules) and edit its own row.

  • Expecting the Editor to fix machine translation or matches. Fix typography while typing only acts on what you type. Turn on Check typography in QA and use Fix all of this type for the rest, keeping the billing warning above in mind.

  • Setting rules and leaving the QA check off. Without Check typography in QA, the QA check keeps counting no-break spaces against the source. An English source has none, so every correct French sentence with a no-break space gets flagged as a mismatch.

  • Editing the account when you meant one client. Check the scope next to Editing before you save: Account changes every Organizational Unit that hasn't overridden the row.

  • Turning the Editor switch off to stop it for one linguist. The switch on the Typography page turns the feature off for everyone. Each linguist can turn it off for themselves in the Editor instead.

Related articles

Did this answer your question?