Any way of getting the script as Hebrew and Russian. Let me know!?
Developing a website in Russian...
Answer
Thanks for the clarification.
Actually, we haven't updated those APIs for any language, including Russian.
You might be able to query the Hebcal Events JSON API via JavaScript to be able to get what you're looking for. Here's an example URL that will pull the Hebrew date for every day for the current month.
https://www.hebcal.com/hebcal/?v=1&cfg=json&year=now&month=now&lg=ru&d=on
This isn't an easy API to consume - you would have to scan the items in the results and find the one that matched today and then extract out the title.
A better approach might be to query the date converter API from JavaScript as such
https://www.hebcal.com/converter/?cfg=json
And then render the date in Russian using your own translation map (for example showing "Нисан" instead of "Nisan")
Sorry I wasn't specific, I meant here:https://www.hebcal.com/home/40/displaying-todays-hebrew-date-on-your-website
I hope it won't be 3 months till the answer!
Yes, we started offering a Russian translation to Hebcal in January 2016.
When you visit https://www.hebcal.com/hebcal/ please change the Event titles to "Russian - ру́сский язы́к"
Customer support service by UserEcho
Thanks for the clarification.
Actually, we haven't updated those APIs for any language, including Russian.
You might be able to query the Hebcal Events JSON API via JavaScript to be able to get what you're looking for. Here's an example URL that will pull the Hebrew date for every day for the current month.
https://www.hebcal.com/hebcal/?v=1&cfg=json&year=now&month=now&lg=ru&d=on
This isn't an easy API to consume - you would have to scan the items in the results and find the one that matched today and then extract out the title.
A better approach might be to query the date converter API from JavaScript as such
https://www.hebcal.com/converter/?cfg=json
And then render the date in Russian using your own translation map (for example showing "Нисан" instead of "Nisan")