5,414
edits
Changes
m
→Custom holiday set: add screen capture
{{languages|Calendar tools holidays}}
[[File:Calendar-GraphicalReports-Content-tab-Country for holidays-default-list-51.png|thumb|450px|right|Content tab showing "Country for holidays:" option showing "Country for holidays" default list]]
==Custom holiday set==
Gramps comes installed with a default <code>holidays.xml</code> file and you can either add more holiday sets to it or create your own custom <code>holidays.xml</code> ===Separate Custom holidays.xml===Note that you [[File:WebCalendar-WebPages-example-JanuaryCalendar2021-60.png|thumb|right|450px|Fig. {{#var:chapter}}.{{#vardefineecho:figure|{{#expr:{{#var:figure}}+1}}}} Web Calendar - Web Pages - US Holidays for January 2021: New Years Day, 1st; MLK Day, 3rd Monday; Inauguration Day, 20th every 4th year. ]]You can have two create a separate custom <code>holidays.xml</code> files:# One where Gramps is installed# and you can have a custom one file in your personal [[Gramps_{{Version manualman version}}_Wiki_Manual_-_User_Directory|User directory]] <code>.gramps/plugins/</code> folder.
====Adding your countries holidays====
Are your countries holidays missing or incomplete and you would like Gramps to have them by default?
If you would like to add your [http://en.wikipedia.org/wiki/Holiday countries holidays] to the calendar, then you can add them to the file <code>holidays.xml.in</code> located:
* Gramps 5 or newer: [https://github.com/gramps-project/gramps/blob/master/data/holidays.xml.in data/holidays.xml.in] (Gramps 5.x or newer) and then raise a feature request and submit your updated file or create a pull request on Github.
====format of holidays.xml====
In the file <code>holidays.xml.in</code>, you can add recurring annual events in a variety of ways. The format is generally:
==Calendar-based reports==
[[File:Calendar-GraphicalReports-Content-tab-5052.png|thumb|450px|right|Content tab showing "Country for holidays:" option]]
Gramps comes with the following Calendar-based reports:
* [[Gramps_{{Version manualman version}}_Wiki_Manual_-_Reports_-_part_4#Calendar|Calendar Report]]: (menu {{man menu|Reports->Graphical Reports->Calendar...}} )* [[Gramps_{{Version manualman version}}_Wiki_Manual_-_Reports_-_part_6#Birthday_and_Anniversary_Report|Birthday and Anniversary Report]]: (menu {{man menu|Reports->Text Reports->Birthday and Anniversary Report...}} )* And an output for the Web with [[Gramps_{{Version manualman version}}_Wiki_Manual_-_Reports_-_part_7#Web_Calendar|Web Calendar Report]]:(menu {{man menu|Reports->Web Pages->Web Calendar...}} )
{{-}}
===Available Calendars===
<!-- based on screenshots guessing last update was for Gramps 5.2.x ? -->
Countries:
* Bulgaria / Canada / Chile / China / Croatia / Czech Republic / England / Finland / France / Germany / Japan / New Zealand / Russia / Serbia / Serbia (Latin) / Serbia / Slovakia / Sweden / Ukraine / United States of America
Holidays
* Jewish Holidays