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)

Dependents (1)

Package Sidebar

Install

npm i nextcloud-l10n

Weekly Downloads

7

Version

0.1.1

License

GPL-3.0-or-later

Unpacked Size

45.5 kB

Total Files

9

Last publish

Collaborators

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