Pelote
FR
Localisation

Localisation

Buttons that stack, text that never truncates, formats through Intl.

Category: LocalisationOpen the preview alone

Live preview

Reference specimen. Example copy comes from the Pelote specs and is in French.

LiveMême dialogue en anglais, français et allemand

Écran large
Téléphone (280 px)

Les boutons ont une largeur au contenu et flex-wrap : dès que le texte ne tient plus côte à côte, ils passent en pile, pleine largeur. Choisis une langue pour voir l'allongement (allemand : +35 %).

UX / UIBoutons avec un texte trop long : quoi faire

À faire
Server neu starten?Etwa eine Minute angehalten.
Les boutons passent en pile, pleine largeur, l'action principale en haut. Rien n'est coupé.
À éviter
Server neu starten?
Largeur fixe et texte tronqué (« Server jetzt n… ») : on ne sait plus ce que le bouton fait.
À faire
Si c'est encore trop long, on raccourcit la phrase dans cette langue : un verbe, éventuellement un complément.
À éviter
Un libellé sur deux lignes dans la pilule : le bouton se déforme et se lit mal.
À éviter
Réduire la police pour que ça rentre : illisible, et la hiérarchie entre boutons disparaît.
À éviter
Une rangée qui déborde du conteneur et coupe le bouton principal hors champ.
À faire
Zitternde HändeSchweißausbrüchePlötzlicher Hunger
Chips : le groupe passe à la ligne, chaque chip garde son libellé entier.
À éviter
Libellés de navigation tronqués : chaque destination doit tenir en un mot court dans toutes les langues (« Réglages », « Optionen »).

Reference specimen. Example copy comes from the Pelote specs and is in French.

How components hold up when the text changes language: French and English at minimum, with text that can grow by 35% (German).

Rules

  • Complete strings from translation files, never concatenated, and containers that let text decide the width.
  • Long button text: width follows content, the row uses flex-wrap so buttons stack full width with the primary action on top, then shorten the sentence in that language.
  • Avoid fixed widths, ellipsised labels, two-line labels in a pill, smaller fonts and rows overflowing their container.
  • Chips wrap, navigation labels fit in one word, headings and paragraphs wrap freely with no fixed height.

More

TokensAssetsLicense GitHub

Appearance

The choice applies immediately and stays on this device.

Mode
Theme colour Every role is regenerated from this source colour.
Style The material changes, components and roles stay the same.
Material YouOn the web, the wallpaper colour is not available. Pick a source colour above; in Android 12+ apps, Material You follows the wallpaper.