agentleFS
kenn-iokenn-io/agentsview/.agents/skills/localization-paraglide/SKILL.md

localization-paraglide

Skill6.1k starsChanged 2 months agoMITView on GitHub

Use when adding, reviewing, or fixing localized UI copy in agentsview's Svelte frontend with Paraglide JS. Trigger for frontend/messages/*.json edits, generated m.* message usage, locale-aware number/date/relative-time formatting, pluralization, language switching, or hard-coded user-facing English in frontend/src.

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 15 mentionsJul 2026: 0 mentionsAug 2026: 2 mentionsSep 2026: 7 mentionsOct 2026: 1 mentionNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the kenn-io/agentsview repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about kenn-io/agentsview

The biggest 5 of 25 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 25

Talked about on GitHub, Bluesky and Hacker News (25 times).

On GitHub · 18

13 more on GitHub

On Bluesky · 6

1 more on Bluesky

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Put user-facing copy in frontend/messages/en.json and in every other locale catalog listed in frontend/project.inlang/settings.json …

    line 14
  2. Very specific:

    Import app localization through frontend/src/lib/i18n/index.ts:

    line 18
  3. Very specific:

    Call generated Paraglide messages as functions, for example m.nav_sessions() or m.shared_active_filters_remove_agent({ agent }).

    line 24
  4. Distinctive:

    Use Paraglide message declarations for plural, number, datetime, and relative time when the formatted value is part of translatable copy.

    line 27
  5. Very specific:

    Use formatDateTime() from frontend/src/lib/i18n/index.ts for standalone visible date/time labels that need the active Paraglide locale.

    line 30
  6. Distinctive:

    Keep technical identifiers untranslated: agent names, model names, file paths, CLI commands, IDs, and raw API values.

    line 33
  7. Very specific:

    Run npm run i18n:compile and npm run check from frontend/ after message or component changes.

    line 36
  8. Very specific:

    Keep key names scoped and descriptive, such as settings_terminal_title or activity_concurrency_empty.

    line 41
  9. Distinctive:

    Do not concatenate translated sentence fragments.

    line 43
  10. Very specific:

    Do not import from frontend/src/lib/paraglide/* directly in components unless changing the i18n wrapper itself.

    line 49
  11. Very specific:

    Read references/paraglide-formatting.md when adding pluralization, ordinal rules, date/time formatting, relative dates, compact numbers, …

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Localization Paraglide

Workflow

  1. Read frontend/project.inlang/settings.json, frontend/src/lib/i18n/index.ts, and nearby localized components before editing.
  2. Put user-facing copy in frontend/messages/en.json and in every other locale catalog listed in frontend/project.inlang/settings.json (currently zh-CN, zh-TW, ko, fr, ja, az, and es) with identical keys.
  3. Import app localization through frontend/src/lib/i18n/index.ts:

    import { m } from "../../i18n/index.js";
  4. Call generated Paraglide messages as functions, for example m.nav_sessions() or m.shared_active_filters_remove_agent({ agent }).
  5. Use Paraglide message declarations for plural, number, datetime, and relative time when the formatted value is part of translatable copy.
  6. Use formatDateTime() from frontend/src/lib/i18n/index.ts for standalone visible date/time labels that need the active Paraglide locale.
  7. Keep technical identifiers untranslated: agent names, model names, file paths, CLI commands, IDs, and raw API values.
  8. Run npm run i18n:compile and npm run check from frontend/ after message or component changes.

Message Rules

  • Keep key names scoped and descriptive, such as settings_terminal_title or activity_concurrency_empty.
  • Do not concatenate translated sentence fragments. Prefer one complete message with parameters.
  • Pass numbers as numbers to pluralized messages. Pass strings only for display fragments that have already been intentionally formatted.
  • In Svelte, put arrays or objects containing translated labels in $derived or $derived.by when they must update after locale changes.
  • Do not import from frontend/src/lib/paraglide/* directly in components unless changing the i18n wrapper itself.

Formatting

Read references/paraglide-formatting.md when adding pluralization, ordinal rules, date/time formatting, relative dates, compact numbers, currencies, or mixed selector messages.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.