Skip to content

Vue API

<RtTranslate>

PropTypeDescription
rt-translate(key, values?) => stringi18n translate function
i18n-keystringTranslation key
valuesRecord<string, any>Interpolation values
componentsRecord<string, any>Component map (e.g., { NuxtLink })
component-propsRecord<string, any>Props per tag name
asstringWrapper tag (default span)

<I18nProvider>

Props

PropTypeDefaultDescription
i18nextConfigCreatei18nConfigParamsbuilt-in defaultCustom configuration for the i18next instance
i18nContextCoreContextPre-resolved context (skips internal init)