Implementation:0xranx OpenContext I18n English
| 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
- Repository: 0xranx_OpenContext
- File: src/ui/src/i18n/locales/en.json
- Lines: 1-476
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..."
}