@hebcal/locales

5.0.1 • Public • Published

@hebcal/locales

Translations for Hebcal events in multiple languages

Adds support for the following locales:

  • ashkenazi_litvish
  • ashkenazi_poylish
  • ashkenazi_standard
  • ashkenazi_romanian
  • de
  • es
  • fi
  • fr
  • hu
  • pl
  • ru
  • ro

Note that @hebcal/core has built-in support for he and ashkenazi locales. This package is needed only if you need other locales.

Installation

$ npm install @hebcal/locales

Synopsis

import {HebrewCalendar} from '@hebcal/core';
import '@hebcal/locales';

const options = {
  year: 2020,
  sedrot: true,
  locale: 'ru',
};
const events = HebrewCalendar.calendar(options);
console.log(events[0].render());

/@hebcal/locales/

    Package Sidebar

    Install

    npm i @hebcal/locales

    Weekly Downloads

    2

    Version

    5.0.1

    License

    BSD-2-Clause

    Unpacked Size

    358 kB

    Total Files

    7

    Last publish

    Collaborators

    • mjradwin