Localizing your Connect pages

The hosted Connect pages on connect.repull.devcan render in your user's language. Repull ships with English and French today, and the system is built so more languages drop in over time. You can set a default for your whole workspace, or send any individual user in a specific language.

Supported languages

Every label, instruction, button, and error message on the Connect pages is translated. Today Repull supports:

  • Englishen (default)
  • Frenchfr

More languages on the way

Localization is universal — new languages are added without any change on your side. When a language ships, any user whose preference resolves to it starts seeing the translated pages automatically.

How the language is chosen

For each visitor, Repull picks the language using the first match in this order:

  1. A ?locale= parameter on the Connect URL (for example ?locale=fr) — the most specific signal, and what you set when you want to control the language per user.
  2. Your workspace's Default language setting in the dashboard.
  3. The visitor's browser preference (their Accept-Language header).
  4. English, if nothing above matches a supported language.

If a requested language isn't supported yet, Repull falls through to the next signal rather than showing a broken page — so an unrecognized ?locale= safely falls back to your default, then the browser preference, then English.

Set a default language for your workspace

If most of your users speak one language, set it once and every Connect page defaults to it.

  1. Open your dashboard and go to Connect settings.
  2. Find the Default language setting.
  3. Choose your language and save.

From then on, any user you send to Connect without a more specific signal sees the pages in that language. You can still override it per user with ?locale= or the API field below.

Send a user in a specific language

When you already know a user's language, append ?locale= to the Connect URL you redirect them to. This wins over your workspace default and their browser preference.

https://connect.repull.dev/cs_8gQrT2v9k3M4nLp7wJxYzAbCdEfGhIjKlMnOp?locale=fr

This is handy when your own app already asks each user for their language — pass it straight through and the Connect flow matches what they see everywhere else.

Set the language when you create the session

You can also bake the language into the session itself. Pass an optional locale when you create a Connect session and the returned url opens in that language — no query param to append.

curl -X POST 'https://api.repull.dev/v1/connect' \
  -H 'Authorization: Bearer sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{
    "redirectUrl": "https://yourapp.com/connect/done",
    "locale": "fr"
  }'

Body parameter

localestring

Optional language code for the hosted Connect pages. Any supported code — currently 'en' or 'fr'. If omitted, the language is chosen from the ?locale= URL param, then your workspace default, then the user's browser preference, then English.

Two ways to set the same thing

The locale field and the ?locale=URL param do the same job — pick whichever fits your flow. If both are present, the URL param wins, since it's the most specific signal.

New to Connect? Start with Connect (multi-channel) for the full session flow, then come back here to localize it.

AI