Changes

Jump to: navigation, search

Calendar tools holidays

220 bytes added, 01:15, 20 January 2013
m
Gramps
Explanation of how to add or change the holidays appearing on the output of the calendars in Gramps. This includes the Text:''Birthday and Anniversary and Birthday Text Report'', the Graphical:''Calendar Graph '' Report, and the ''Web Calendar''.
==Calendar Holidays==
 Gramps now comes with three Calendar-based reports: a # Calendar (menu {{man menu|Reports->Graphical Reports->Calendar, ...}} )# Birthday and a Anniversary Report (menu {{man menu|Reports->Text Reports->Birthday and Anniversary report, and Report...}} )# And an output for the Web(menu {{man menu|Reports->Web Pages->Web Calendar... }} ) If you would like to add your country's holidays to the calendar, then you can add them to the file [http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/src/plugins/lib/holidays.xml.in?view=markup holidays.xml.in]. Here, you can add recurring annual events in a variety of ways. The format is generally: 
<code>
<?xml version="1.0" encoding="isoUTF-8859-18"?>
<calendar>
<country name_name=COUNTRYNAME>
<date name=NAME value=VALUE type=TYPE offset=OFFSET if=EXPRESSION />
...
</country>
<country name_name=COUNTRYNAME>
<date name=NAME value=VALUE type=TYPE offset=OFFSET if=EXPRESSION />
...
</pre>
In this example, "Jewish Holidays", "Purim", and "Passover" will be looked up in the Gramps gettext system for translations. If you would like to help add those translations, please see [[Translating GRAMPSGramps]].
==Examples==
<code>
<?xml version="1.0" encoding="isoUTF-8859-18"?>
<calendar>
<country name="United States">
The last set will only load if your country is Finland. It says that Card Night is the last Thursday of every month, every year. Let's play!
Note that you can have two separate holidays.xml files: one where GRAMPS Gramps is installed, and one in your personal .gramps/plugins/ folder.
[[Category:Plugins]]
[[Category:Translators/Categories]]
[[Category:Developers/General]]
[[Category:Reports]]

Navigation menu