Pracht App Translations
Adds multiple languages to a Pracht web app, with language detection, typed translations and SEO friendly links.
Claude's review
7/10 Thorough Pracht i18n setup with a URL strategy choice and careful caching, cookie, redirect and hreflang rules; only useful to Pracht users.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Wire `@pracht/i18n`: locale detection, typed lazy dictionaries, and either locale-prefixed routes with hreflang or one URL per page with a cookie switcher. Use for "add i18n", "set up translations", "make my app multilingual", "add locale routing", "switch language without changing URLs".
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: add-i18n
version: 2.2.0
description: |
Wire `@pracht/i18n`: locale detection, typed lazy dictionaries, and either
locale-prefixed routes with hreflang or one URL per page with a cookie
switcher.
Use for "add i18n", "set up translations", "make my app multilingual", "add
locale routing", "switch language without changing URLs".
allowed-tools:
- Bash
- Read
- Write
- Edit
- Grep
- Glob
- AskUserQuestion
---
# Pracht Add i18n
`@pracht/i18n` ships locale-detection middleware, lazy dictionaries with keys
typed from the default locale, `t()`/`tPlural()` (plurals via
`Intl.PluralRules`), `localePath()`, and `hreflang()` for `head()`. Full guide:
<https://pracht.resynapse.dev/docs/recipes/i18n> — which also carries a
hand-rolled fallback recipe if the user refuses the dependency. Working setups
of both strategies live in
<https://github.com/JoviDeCroock/pracht/tree/main/examples/basic>:
locale-prefixed (`/welcome`, `/en/welcome`, `/nl/welcome`) and prefix-free
(`/greeting`, `src/api/locale.ts`).
MCP: if `pracht dev-mcp` is registered, prefer its `inspect_*`, `generate_*`, `doctor`, and `verify` tools to the CLI.
## Step 1: Pick locales and a URL strategy
Use `AskUserQuestion` once for the supported locales (default `en` plus one or
two), the default locale, and the URL strategy:
| | **A. Locale-prefixed** (`/en/about`) | **B. One URL per page** (`/about`) |
| --- | --- | --- |
...From JoviDeCroock's repository, MIT licence.
Related skills
-
Checked
Port code to Rust
Ports C, C++, Python, Go or JavaScript code into idiomatic Rust, with tests that prove it behaves the same.
8/101 credit -
Checked
ComfyUI custom node UI
Adds widgets, sidebar tabs, commands and dialogs to ComfyUI custom nodes, so your node feels built in.
7/101 credit -
Checked
Scrolling menu upgrade
Finds outdated react-horizontal-scrolling-menu code and rewrites it for version 8 so the menu works again.
7/101 credit -
Checked
Scroll Menu Testing and SSR
Gets react-horizontal-scrolling-menu working in Next.js and tested in Jest and Playwright without flicker.
7/101 credit -
Checked
Conform React Forms
Builds React forms with Conform and Zod that validate on the server and still work before JavaScript loads.
7/101 credit -
Checked
Next.js 16 App Builder
Builds Next.js 16 apps the current way, with Server Components, Server Actions, caching and the new proxy file.
7/101 credit