Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
import fs from 'node:fs';
import path from 'node:path';
import i18next from 'i18next';
import { initReactI18next } from 'react-i18next';
const TRANSLATION = path.resolve(__dirname, '../../../../client/src/locales/en/translation.json');
/** Loads the app's English bundle into the shared i18next instance, so a spec reads the copy and
* plural forms users see. Call it from a `beforeAll`. */
export async function initEnglish(): Promise<void> {
await i18next.use(initReactI18next).init({
lng: 'en',
resources: { en: { translation: JSON.parse(fs.readFileSync(TRANSLATION, 'utf8')) } },
interpolation: { escapeValue: false },
});
}