Changes

Jump to: navigation, search

Calendar tools holidays

341 bytes added, 13:07, 21 September 2021
m
no edit summary
[[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]]
Details on how to add custom holiday set or change the builtin built-in holiday set appearing on the output of the [[#Calendar-based_reports|Calendar-based reports]] in Gramps.
==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 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 manual}}_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]
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:
Countries:
* Bulgaria / Canada / Chile / China / Croatia / Czech Republic / England / Finland / France / Germany / Japan / New Zealand / Russia / Serbia / Serbia (Latin) / Slovakia / Sweden / Ukraine / United States of America
Holidays
* Jewish Holidays
4,529
edits

Navigation menu