Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

i18n

Skill by redis

Sets out internationalization conventions for the RedisInsight UI, built on i18next and react-i18next. It guides adding and editing user-facing strings and locale files for developers working on that UI.

  • Score 78
  • 8.9k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install i18n

Built from the published package, never by AI.

git clone --depth 1 https://github.com/redis/RedisInsight /tmp/RedisInsight && mkdir -p ~/.claude/skills && cp -r /tmp/RedisInsight/.ai/skills/i18n ~/.claude/skills/i18n

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install i18n in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill documents how the RedisInsight UI handles translations. English is the source locale, and Bulgarian is the second locale. It explains where the i18next instance and locale files live, and when to use the useTranslation hook, the i18n singleton, or the Trans component.

The skill also covers key naming by namespace, plural forms that use count with _one and _other suffixes, and how backend error codes are translated with fallback to backend text. It lists the npm scripts for extracting keys, checking duplicates and type-checking. It is aimed at developers adding or changing strings under redisinsight/ui.

Written from the project's SKILL.md and checked against it.

What it can do

  • Choosing the translation APIExplains when to use the useTranslation hook, the i18n singleton, or the Trans component.
  • Interpolation and markupShows how to pass values into strings and map inline tags to React components with Trans.
  • Plural handlingDescribes count-based plurals using key_one and key_other forms instead of manual branches.
  • Key naming and namespacesDefines flat dotted keys and namespaces such as api, notification, common and page-based keys.
  • Backend error translationMaps backend errorCode values to api.error.code keys with fallback to backend text.
  • Adding a translationLists the steps to add keys to en.json and bg.json, reference them, and run checks.
  • Tooling referenceCovers npm run i18n:extract, npm run i18n:check, type-check and the ?lang=bg preview override.

What you need

  • A RedisInsight repository checkout
  • npm scripts for i18n:extract, i18n:check, type-check and lint:ui

Try asking

  • Add a translated success message for saving a database connection
  • Convert this hardcoded button label into an i18n key with English and Bulgarian values
  • Add plural forms for the number of selected keys in the browser page

Good to know

  • Dynamic keys using as never are not discovered by i18n:extract and must be kept in locale files manually
  • i18n:extract does not remove unused keys, so renamed keys can leave orphans in bg.json
  • Only English and Bulgarian locales are covered

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .ai/skills/i18n/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to i18n

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

i18n: common questions

How do I translate strings in React components in RedisInsight?

Use the useTranslation hook inside a React component and call t with the key. Non-React code such as thunks and utils should use the i18n singleton instead.

How are plurals handled in the RedisInsight locale files?

Use i18next count-based plurals with key_one and key_other entries. Write the whole sentence in each form rather than interpolating only the differing word.

What happens if a Bulgarian translation is missing?

Empty bg values are allowed as a placeholder, and returnEmptyString is false, so the English text is shown instead of a blank.

How do I install i18n?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is i18n free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is i18n safe to use?

It scores 78 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to i18n?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

Add to stack

Loading.