@kll_/translate
v0.1.4
Published
Plugin de traduction pour le framework KLL
Downloads
6
Readme
Translate Plugin
The TranslatePlugin is an example of a KLL plugin that provides dynamic translation capabilities.
Usage:
import { TranslatePlugin } from 'path-to-plugins/TranslatePlugin';
// Translation data
const translations = { /* ...translation data... */ };
// Add to KLL instance
const app = new KLL({
/* ...config... */,
plugins: [kll => new TranslatePlugin(kll, translations)]
});`