Necessary Package Manager

    This package has been deprecated

    Author message:

    Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

    nextcloud-l10n
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.1 • Public • Published

    nextcloud-l10n

    Nextcloud L10n helpers for apps and libraries

    Usage

    In order to not break the l10n string extraction scripts, make sure to alias the imported function to match the legacy syntax:

    import {translate as t, translatePlural as n} from 'nextcloud-l10n'
     
    t('myapp', 'Hello!')
    n('myapp', '%n cloud', '%n clouds', 100)

    Keywords

    Install

    npm i nextcloud-l10n

    DownloadsWeekly Downloads

    21

    Version

    0.1.1

    License

    GPL-3.0-or-later

    Unpacked Size

    45.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • artonge
    • christophwurst
    • georgehrke
    • gretadoci
    • icewind1991
    • juliushaertl
    • marcoambrosinii
    • max-nextcloud
    • mejo-
    • nickvergessen
    • pytal
    • skjnldsv
    • st3iny