Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Cumulocity-IoT/cumulocity-skillsnpx agentmods add skills/cumulocity-iot/cumulocity-skills/internationalizationWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cumulocity-iot/cumulocity-skills/internationalization)<a href="https://agentmods.dev/skills/cumulocity-iot/cumulocity-skills/internationalization"><img src="https://agentmods.dev/badge/skills/cumulocity-iot/cumulocity-skills/internationalization/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cumulocity-iot/cumulocity-skills/internationalization"><img src="https://agentmods.dev/badge/skills/cumulocity-iot/cumulocity-skills/internationalization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00100 | $0.02998 |
| Opus 5 | $0.00050 | $0.01499 |
| Sonnet 5 | $0.00020 | $0.00600 |
| Haiku 4.5 | $0.00010 | $0.00300 |
Grade A, and why
internationalization scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -o ./locales/framework.pot https://unpkg.com/@c8y/ngx-components@latest/locales/locales.pot How it starts
The opening of the file, as written. The whole thing — 417 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cumulocity Internationalization (i18n) Skill
Overview
Cumulocity Web SDK uses the gettext .po file
format for translations. There are two distinct problems to solve:
- Annotating & pushing text through the translation pipeline in source code
- Providing the translated strings via
.pofiles and wiring them into the app
This skill covers both, plus the complete workflow for adding a brand-new language.
Built-in Languages
The @c8y/ngx-components package ships ready-made .po files for these locales:
| Code | Language |
|---|---|
de |
German |
en |
English |
en_US |
English (US) |
es |
Spanish |
fr |
French |
ja_JP |
Japanese |
ko |
Korean |
nl |
Dutch |
pl |
Polish |
pt_BR |
Brazilian Portuguese |
zh_CN |
Simplified Chinese |
zh_TW |
Traditional Chinese |
To activate any of these, only Steps 5 and 6 of the "Adding a New Language" section below are required — no translation work needed.
Step 1 — Annotating Text in Source Code
Four mechanisms are available. They can be combined freely.
gettext(string)
Annotates a static string literal for extraction. Does not translate at runtime —
use it to mark strings defined in TypeScript that are translated elsewhere (e.g. via pipe
or TranslateService).
import { gettext } from '@c8y/ngx-components';
const label = gettext('Remove Device');
Rules:
- Must be a string literal — not a variable or template literal.
- ✅
gettext('Remove Device')- ❌
gettext(myVar)- ❌
gettext(`Remove ${condition ? 'Device' : 'Group'}`)
translate Pipe
Translates the string at runtime inside templates. When applied to a static string
literal it also annotates it for extraction — no separate gettext() call needed.
<!-- Simple -->
{{ 'Device' | translate }}
<!-- With interpolated placeholders — use @let to pre-resolve -->
@let removeLabel = 'Remove Device' | translate;
@let cancelLabel = 'Cancel' | translate;
{{ confirmed ? removeLabel : cancelLabel }}
<!-- Or expose gettext on the component class and use it inline -->
{{ (confirmed ? gettext('Remove Device') : gettext('Cancel')) | translate }}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 417 lines · 100 tokens per session scan A f83f9ed37d0d
internationalization is a skill published in the GitHub repository Cumulocity-IoT/cumulocity-skills (5 stars, last pushed 11d ago), licensed Apache-2.0. It adds 100 tokens to every session and 2,998 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
angular-best-practices-transloco
Transloco i18n best practices for Angular. Covers runtime translation, lazy-loaded translation files per route, and test mocking. Activates when working with @jsverse/transloco. Do not use for ngx-translate or i18next. Install alongside angular-best-practices for full coverage.
i18n-date-patterns
Implements internationalization (i18n) in React applications. Covers user-facing strings, date/time handling, locale-aware formatting, ICU MessageFormat, and RTL support. Use when building multilingual UIs or formatting dates/currency.
i18n-manager
An internationalization tool for managing text in software for different languages and regions. It extracts strings, finds missing translations, creates locale files, and reports coverage.
localization-engineer
Expert in internationalization (i18n), multi-language support, and localization.
nextjs-i18n
Best practices for multi-language handling, locale routing, and detection strategies across App and Pages Router. Use when adding i18n, locale routing, or language detection in Next.js.
tongwen
Use when translating engineering CAD drawings between languages — DWG text extraction, translation workspace with terminology management, quality-checked write-back. TongWen (同文): local-first CAD/BIM lossless translation suite for AutoCAD 2019-2026.