I18n Standards logo

I18n Standards

Community
c-kick
i18n-standards

Standards for internationalization and string handling. Apply when touching files with user-facing strings or preparing strings for translation.

Overview

Publisherc-kick
Repositoryhnl-agent-skills
Skill namei18n-standards
Stars
56
Forks
4
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by c-kick on GitHub. Read the source before you install it.

Installation

Install the I18n Standards AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/c-kick/hnl-agent-skills/tree/master/i18n-standards
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/c-kick/hnl-agent-skills.git /tmp/hnl-agent-skills
mkdir -p .claude/skills
cp -r /tmp/hnl-agent-skills/i18n-standards .claude/skills/i18n-standards
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable I18n Standards in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads I18n Standards on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so I18n Standards is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Internationalization (i18n) Standards

Apply these standards when working with user-facing strings in this project.

Background

Projects often accumulate a mix of hardcoded and translatable strings over time. This is a low-priority cleanup task — apply these standards gradually when you touch files that contain user-facing strings.

Quick Reference

PHP: User-Facing Strings (WordPress)

All user-facing strings should use WordPress translation functions with the project's text domain constant:

php
// Simple string
echo __('Save Changes', TEXT_DOMAIN);

// Echoing directly
_e('Submit Form', TEXT_DOMAIN);

// With placeholders
printf(
    __('Showing %d of %d results', TEXT_DOMAIN),
    $current,
    $total
);

// Pluralization
printf(
    _n('%d item', '%d items', $count, TEXT_DOMAIN),
    $count
);

Language Conventions

ContextLanguageExample
Code commentsEnglish// Check if user is logged in
Variable/function namesEnglish$user_name, get_opening_hours()
Log messagesEnglisherror_log('Failed to load template');
User-facing textPrimary locale (translatable)__('Settings', TEXT_DOMAIN)
Admin labelsPrimary locale (translatable)'label' => __('Phone number', TEXT_DOMAIN)

JavaScript Strings (WordPress)

Use @wordpress/i18n for Gutenberg/block editor strings:

javascript
import { __, _n, sprintf } from '@wordpress/i18n';

// Simple string — use the text domain string (not the PHP constant)
const label = __('Edit', 'my-theme');

// With placeholders
const message = sprintf(
    __('Showing %d results', 'my-theme'),
    count
);

When Refactoring

When you encounter hardcoded or mixed-language strings in a file you're editing:

  1. Identify user-facing strings (displayed to users in browser)
  2. Wrap them with __() or _e()
  3. Keep code comments and internal messages in English
  4. Don't translate:
    • Log messages
    • Debug output
    • Internal error messages not shown to users
    • API responses (unless they're user-facing error messages)

Text Domain

The text domain should be defined as a constant in the project's configuration:

php
define('TEXT_DOMAIN', 'my-theme');

Always use the text domain constant in PHP. In JavaScript, use the text domain string directly (JS doesn't have access to PHP constants).

Generating POT Files

After making i18n changes, regenerate the POT file:

bash
# Using WP-CLI (if available)
wp i18n make-pot . languages/<text-domain>.pot --domain=<text-domain>

# Or using @wordpress/i18n npm package
npx @wordpress/i18n make-pot . languages/<text-domain>.pot

Checklist

When touching files with strings:

  • User-facing PHP strings wrapped with __() or _e()
  • User-facing JS strings use @wordpress/i18n
  • Text domain constant used in PHP, text domain string in JS
  • Code comments remain in English
  • No hardcoded user-facing strings without translation wrapper
  • Placeholders use printf()/sprintf() not concatenation

Priority

This is a low-priority gradual cleanup task. Don't create separate commits just for i18n changes — include them when you're already modifying a file for other reasons.

Frequently asked questions

What does the I18n Standards AI skill do?

Standards for internationalization and string handling. Apply when touching files with user-facing strings or preparing strings for translation.

Why use I18n Standards on TypingMind?

Because you install it once and use it with any model. I18n Standards is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install I18n Standards in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/c-kick/hnl-agent-skills/tree/master/i18n-standards. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use I18n Standards?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with I18n Standards?

As many as you like. As long as a model supports skills, you can use I18n Standards with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the I18n Standards AI skill free?

It is published on GitHub by c-kick. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇