i18next-mcp-server
Version:
A comprehensive Model Context Protocol (MCP) server for i18next translation management, health checking, and automated translation workflows
21 lines (20 loc) • 655 B
TypeScript
import type { I18nConfig } from '../types/index.js';
export declare class ConfigManager {
private config;
loadConfig(configPath?: string): Promise<I18nConfig>;
getConfig(): I18nConfig;
getAbsoluteLocalesPath(): string;
getLanguageFilePath(language: string, namespace: string): string;
getAllLanguageFiles(): Array<{
language: string;
namespace: string;
path: string;
}>;
isValidLanguage(language: string): boolean;
isValidNamespace(namespace: string): boolean;
createBackupPath(): Promise<string>;
validateProject(): Promise<{
valid: boolean;
issues: string[];
}>;
}