PixelPilot uiux-i18n.instructions.md

PixelPilot uiux-i18n.instructions.md is an instructions file for GitHub Copilot from dev-lou/PixelPilot. It costs 1,135 tokens per session, scanned A, original, MIT.

Instructions for adapting an interface to different languages, writing directions, date and time formats, numbers, currencies, and plural forms. RTL means right-to-left languages such as Arabic.

In plain words
What is it for?
Use them to build language selectors, support left-to-right and right-to-left layouts, format dates and numbers, handle currencies, and choose correct singular or plural wording.
Why use it?
They reduce inconsistencies when an interface supports users from different languages and regions. They also describe a language switcher and the page-direction setting.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/dev-lou/pixelpilot/uiux-i18n
Clone the repo
git clone --depth 1 https://github.com/dev-lou/PixelPilot

Made for: GitHub Copilot.

Wrote 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.

agentmods badge for PixelPilot uiux-i18n.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dev-lou/pixelpilot/uiux-i18n.svg)](https://agentmods.dev/instructions/dev-lou/pixelpilot/uiux-i18n)
Your own site
<a href="https://agentmods.dev/instructions/dev-lou/pixelpilot/uiux-i18n"><img src="https://agentmods.dev/badge/instructions/dev-lou/pixelpilot/uiux-i18n.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,135 This file is loaded in full into every session.
When invoked 1,135 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.01135 $0.01135
Opus 5 $0.00567 $0.00567
Sonnet 5 $0.00227 $0.00227
Haiku 4.5 $0.00113 $0.00113

Measured 3d ago against content hash 28a7c5945d16, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

PixelPilot uiux-i18n.instructions.md scanned grade A with 0 findings 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vscode/.github/instructions/uiux-i18n.instructions.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI/UX Internationalization (i18n) 2026

Language switchers, RTL support, date/time formatting, number/currency formatting, and pluralization rules.


1. LANGUAGE SWITCHER (Flag/Text & dir Attribute)

<div class="language-switcher">
  <button class="language-switcher__trigger" aria-haspopup="listbox" aria-expanded="false">
    <span class="language-switcher__flag">🇺🇸</span>
    <span class="language-switcher__text">English</span>
    <i data-lucide="chevron-down"></i>
  </button>
  <ul role="listbox" class="language-switcher__menu" hidden>
    <li role="option" class="language-switcher__item" data-lang="en" data-dir="ltr">English</li>
    <li role="option" class="language-switcher__item" data-lang="ar" data-dir="rtl">العربية</li>
  </ul>
</div>
// Language Switcher Logic
const switcher = document.querySelector('.language-switcher');
const trigger = switcher.querySelector('.language-switcher__trigger');
const menu = switcher.querySelector('.language-switcher__menu');

trigger.addEventListener('click', () => {
  const expanded = trigger.getAttribute('aria-expanded') === 'true';
  trigger.setAttribute('aria-expanded', !expanded);
  menu.hidden = expanded;
});

menu.addEventListener('click', (e) => {
  const item = e.target.closest('.language-switcher__item');
  if (!item) return;

  const lang = item.dataset.lang;
  const dir = item.dataset.dir;

  document.documentElement.lang = lang;
  document.documentElement.dir = dir;
  localStorage.setItem('lang', lang);
  localStorage.setItem('dir', dir);

  // Update UI
  trigger.querySelector('.language-switcher__text').textContent = item.textContent;
  trigger.setAttribute('aria-expanded', 'false');
  menu.hidden = true;

  // Reload or update translations
  updateTranslations(lang);
});

2. RTL SUPPORT (CSS Logical Properties)

Rule: Use logical properties (margin-inline, padding-inline, inset-inline) instead of physical properties (margin-left, padding-right, left).

Read the full file on GitHub · 154 lines

Changes

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.

  1. 3d ago First seen · 154 lines · 1,135 tokens per session scan A 28a7c5945d16

Subscribe to this mod's changes

PixelPilot uiux-i18n.instructions.md is an instructions file published in the GitHub repository dev-lou/PixelPilot (2 stars, last pushed 4mo ago), licensed MIT. It adds 1,135 tokens to every session, about $0.0057 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.