# Designing Localized Interfaces

> Use when a UI may support multiple languages, scripts, regions, writing directions, date-number formats, or content expansion that can change geometry or meaning.

- Skill: `nolane-x/designing-localized-interfaces` (Agent Skill)
- Install (CLI): `npx get-skill add nolane-x/designing-localized-interfaces`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nolane-x/designing-localized-interfaces/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Nolane-x (https://skillmd.com/u/nolane-x)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/nolane-x/designing-localized-interfaces

---


# Designing Localized Interfaces

## Overview
Localization is a layout and interaction constraint, not a translation step at the end.

## Parent Contract
**Required parent:** `routing-ui-work`.

Use target locales if known. If international support is required but locales are unknown, design against stress classes instead of assuming English geometry.

## Text expansion
Expect labels, headings, buttons, validation, and help text to grow. Prefer flexible containers, wrapping, and content-aware height. Fixed-width controls that only fit English are defects unless the product explicitly constrains language.

## Writing direction
RTL adaptation includes:
- layout flow and start/end alignment
- navigation direction where semantically appropriate
- directional icons/chevrons
- progress/sequence direction
- mixed-direction content such as URLs, code, numbers, phone values
- gesture expectations

Do not mirror icons whose meaning is independent of direction (for example many brand marks or media controls) without checking semantics.

Use logical start/end concepts rather than hard-coded left/right in the design contract when direction can vary.

## Script and typography
Verify font coverage, x-height/legibility equivalents, line metrics, shaping, diacritics, and fallback behavior. An expressive Latin display face may need a script-compatible alternative that preserves tone rather than forcing missing glyphs/fallback chaos.

## Locale-sensitive data
Design for different:
- date/time order and time zones
- decimal/group separators
- currency placement/precision
- measurement units
- address/name conventions
- pluralization and grammatical gender where copy generation matters

Do not bake formatted strings into component logic.

## Content order
Translation can change sentence structure and label/action ordering. Components should expose semantic slots rather than concatenate pieces into a visual sentence.

## Truncation
If truncation is necessary, preserve access to the full value and do not truncate the differentiating suffix/prefix users rely on (e.g., environment names, file paths) without domain-aware rules.

## Locale stress plan
At minimum include:
- compact Latin
- expanded Latin
- RTL
- non-Latin script with different metrics
- mixed bidi technical content when relevant
- long numeric/date/currency formats

## Output: `locale-stress-plan`
Return `target_locales`, `expansion_rules`, `direction_rules`, `icon_mirroring`, `typography_fallbacks`, `data_formatting`, `component_risks`, `stress_cases`, and `verification_matrix`.

## Common failures
- RTL implemented as `text-align:right` only.
- Icon + label order wrong after mirroring.
- Fixed-height buttons clip translated copy.
- Screenshot/generated-image text impossible to localize.

## V6 Script, Locale, and Cultural Stress Protocol
Run a **bidirectional-isolation audit** for mixed RTL/LTR content: numbers, code, URLs, usernames, paths, punctuation, icons, and embedded Latin product names must not reorder unpredictably. Define **script-specific line breaking** and typography behavior for CJK, Thai, Arabic-derived scripts, Devanagari and other supported writing systems rather than assuming whitespace-delimited Latin wrapping.

Treat **locale-format semantics** as product data: dates, calendar systems, decimal/group separators, units, currencies, names, addresses, plural/select rules, collation, phone numbers, and week starts can change meaning, not just display. Establish an **expansion stress envelope** per component using realistic translations, font metrics, text zoom, and narrow screens; truncation requires a policy for recovering full meaning.

Use a **cultural-assumption falsifier** on symbols, color metaphors, imagery, gestures, form fields, name ordering, honorifics, and examples. Do not claim universality from one locale; record unsupported locales as boundaries.

### Falsification
Test pseudo-localization plus real RTL and non-Latin samples, mix directional content in the same label, and switch locale mid-session. Misordered semantics, clipped actions, or parsing changes that silently alter values falsify the contract.

### Recovery
Fix data/format and layout primitives before writing locale-specific one-offs. Introduce locale-aware components or script-appropriate fonts, and preserve untranslated fallback only with explicit user-visible state.

