Module @nextcloud/l10n/gettext

This module provides functionality to translate applications independent from Nextcloud

import { getGettextBuilder } from '@nextcloud/l10n/gettext'
const gt = getGettextBuilder()
.detectLocale() // or use setLanguage()
.addTranslation(/* ... */)
.build()
gt.gettext('some string to translate')

Modules

<internal>

Interfaces

GettextTranslation
GettextTranslationBundle
GettextTranslationContext

Functions

getGettextBuilder
MMNEPVFCICPMFPCPTTAAATR