#
getI18nextPlugin
Return an instance of i18nextPlugin from the list of plugins registered with a Runtime instance.
#
Reference
const plugin = getI18nextPlugin(runtime)
#
Parameters
runtime
: A runtime instance.
#
Returns
An i18nextPlugin
instance if the plugin has been registered, otherwise an Error
is thrown.
#
Usage
import { getI18nextPlugin } from "@squide/i18next";
const plugin = getI18nextPlugin(runtime);