Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Implementation:0xranx OpenContext I18n English

From Leeroopedia
Knowledge Sources
Domains i18n, Localization
Last Updated 2026-10-24 00:00 GMT

Overview

English translation file for the desktop UI, providing i18n strings for editor, settings, agent chat, search, ideas, and all UI components.

Description

The en.json file in src/ui/src/i18n/locales/ contains all English translation keys for the desktop application, organized by feature area: editor, settings, agent, search, slashMenu, table, toolbar, codeBlock, time, common, and more. Used by react-i18next with the useTranslation hook.

Usage

Loaded by src/ui/src/i18n/index.js as the en resource for i18next.

Code Reference

Source Location

Import

// Loaded in src/ui/src/i18n/index.js:
import en from './locales/en.json';
i18n.init({ resources: { en: { translation: en } } });

I/O Contract

Outputs

Name Type Description
translations JSON Key-value pairs organized by feature namespace

Usage Examples

Using Translations

import { useTranslation } from 'react-i18next';

function MyComponent() {
  const { t } = useTranslation();
  return <p>{t('editor.placeholder')}</p>;
  // Renders: "Type / for commands..."
}

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment