@hebcal/locales
v6.3.0
Published
Translations for Hebcal events in multiple languages
Readme
@hebcal/locales
Translations for Hebcal events in multiple languages
Adds support for the following locales:
ashkenazi_litvish- courtesy Andrey Rozenbergashkenazi_poylish- courtesy Andrey Rozenbergashkenazi_standard- courtesy Andrey Rozenbergashkenazi_romanian- courtesy Florin-Ciprian Bodinde- courtesy Dr Oliver Maores- courtesy Iosef Kebesh and Sebastian Thiererfi- courtesy Petteri Hjortfr- courtesy Marc Neigerhu- courtesy Oleh Korchytskyipl- courtesy Filip Bialekpt- courtesy Zushe Ledovitchru- courtesy David Leibovychro- courtesy Florin-Ciprian Bodinuk- courtesy Lyubov Kuzmyn
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/localesSynopsis
import {HebrewCalendar} from '@hebcal/core';
import '@hebcal/locales';
const options = {
year: 2020,
sedrot: true,
};
const events = HebrewCalendar.calendar(options);
console.log(events[0].render('ru'));