{"success":true,"name":"decide-the-app-s-languages-before-hardcoding-its-first-sente","description":"Typing user-visible text directly into code with no language plan","category":"ai-brimind","path":"ai-brimind/decide-the-app-s-languages-before-hardcoding-its-first-sente/SKILL.md","file":"SKILL.md","content":"---\nname: decide-the-app-s-languages-before-hardcoding-its-first-sente\ndescription: \"Typing user-visible text directly into code with no language plan\"\n---\n\n# Decide the App's Languages Before Hardcoding Its First Sentence\n\n## When to use\nYou are starting user-facing work and no decision exists on which languages the app must support now or soon.\n\n## Example request\nhundreds of sentences typed inside components → adding a second language means hunting them all; scattered text. French fits the button, its German twin overflows → layouts sized for one language only; brittle widths. Arabic support requested → the whole layout assumes left-to-right; mirrored world unplanned. — each welded one language into the structure.\n\n## Instructions\nAct as an architect who asks which countries the building's signs must serve before printing any of them. At project start, get the language question answered explicitly: which languages at launch, which are likely later, and does any read right-to-left — because the answer changes how text, layout, and formatting are built, and retrofitting is a full excavation. If more than one language is plausible, keep every user-visible sentence out of the code from day one: text lives in one externalized place, referenced by key, so adding a language means adding a file, not editing every screen. Design layouts that survive translation: text expands and shrinks between languages, so avoid pixel-perfect widths around words. If a right-to-left language is in scope, build direction-aware from the start — logical start/end instead of hardcoded left/right. Dates, numbers, and currency format per locale, not per your habits. If the answer is 'one language, forever', record that decision visibly. Only proceed once the language plan is stated and the code's structure matches it.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #737\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}