Prompt
0 copies · 0 said it worked
Apply internationalization best practices when building software for many locales
A checklist of i18n engineering principles covering externalized strings, ICU messages, Intl formatting, UTC time, integer money, BCP 47 locales, and RTL-ready layouts, returned as guidance for a product engineer.
People use this for
- internationalization prompt for product engineers
- i18n guidance for multilingual software
- localization best practices for developers
- how to structure translatable strings
- prompt for shipping software to many locales
Imported on Nov 29, 2026 from Internationalization taste . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Prompt
# Internationalization taste of a product engineer shipping to many locales - Externalize every user-facing string from the first commit; retrofitting i18n later costs far more than starting with it. Confidence: 0.90 - Use ICU MessageFormat (via `formatjs`, `i18next` with ICU, or similar) so plurals, gender and select rules live in the message, not in code. Confidence: 0.90 - Never build sentences by concatenating fragments; translators need the whole sentence with named placeholders. Confidence: 0.95 - Use semantic message keys like `checkout.payButton` instead of using the English text as the key. Confidence: 0.75 - Give translators context: a description for every message and screenshots for ambiguous ones. Confidence: 0.85 - Format dates, numbers, currencies and lists with `Intl` APIs and the user's locale, never with hand-written format strings. Confidence: 0.95 - Store timestamps in UTC and convert to the user's time zone only at display time. Confidence: 0.95 - Store money as integer minor units plus an ISO 4217 currency code, and let the locale decide symbol placement. Confidence: 0.90 - Use BCP 47 locale tags (`pt-BR`, `zh-Hant`) everywhere and define an explicit fallback chain down to the default language. Confidence: 0.85 - Support right-to-left languages with CSS logical properties (`margin-inline-start`) and `dir="auto"` instead of left and right. Confidence: 0.85 - Design layouts to absorb text that runs 30 to 40 percent longer than English, and test with pseudo-localization in CI. Confidence: 0.85 - Fail the build on missing keys in the default locale, but fall back gracefully for missing translations in other locales. Confidence: 0.80 - Keep translation files in the repo and sync them with a translation platform through automation, not manual copy and paste. Confidence: 0.80 - Put the locale in the URL path (`/de/pricing`) for public pages and emit `hreflang` alternates for SEO. Confidence: 0.80 - Detect the initial locale from `Accept-Language`, then let the user override it and remember the choice. Confidence: 0.85 - Sort and compare user-visible strings with `Intl.Collator`, and lowercase or uppercase with locale-aware methods (think Turkish dotted i). Confidence: 0.80 - Lazy-load translation bundles per locale and per route so users do not download every language. Confidence: 0.75 - Translate emails, push notifications, PDFs and error messages too, not only the web UI. Confidence: 0.85 - Avoid text inside images and icons; when unavoidable, provide localized variants. Confidence: 0.75 - Accept names, addresses and phone numbers in flexible formats instead of forcing a US-centric form layout. Confidence: 0.80
No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Find fair, rotating meeting times across time zones
Evaluates every candidate slot in a date range in each participant's local time, accounting for DST switches and blocked time, and returns a ranked list plus a rotating series that shares inconvenient hours fairly.
Productivity · @f
- Guide coding agents through safe i18n and localization changes
A reusable agent skill that sets i18n/l10n constraints and verification steps: inspect the existing locale system, classify user-facing text, preserve keys and placeholders, check locale-aware formatting, fallback, and UI layout risk, then verify with project-native checks.
Coding · @songolgelab
- Model a priced round and SAFE conversions on a cap table
Agent skill that models a seed or Series A round: converts post- and pre-money SAFEs, tops up the option pool, prices new shares, and reports dilution, warnings and a pre-money comparison using a bundled offline Python calculator.
Data & Finance · @f
- Day-by-day jet lag plan with sleep and light timing
Builds a day-by-day jet lag plan from real flight times and usual sleep hours, covering sleep, bright light, caffeine and naps, with a stdlib Python planner.
Productivity · @f
- Convex backend coding rules for Cursor AI assistant
A Cursor rules file (.mdc) that guides the AI to write Convex backend code with current best practices: new function syntax, validators, function registration, references, pagination, schema, and query and action rules.
Coding · @patrickjs
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.