A custom person filter rule for Gramps that matches people who are a parent in a family where a child is recorded with a relationship other than "Birth" to them — adoptive parents, foster parents, step-parents, sponsors or a custom type.
Biological parents are not included. In Gramps the child relationship type is stored separately for the father and the mother on each child reference, so the rule only looks at the person's own role:
| Situation | Child's relationship | Matches |
|---|---|---|
| Foster family | Foster to both parents | both foster parents |
| Step family | Birth to mother, Stepchild to father | only the stepfather |
| Birth family | Birth to both | nobody (through that child) |
It is the companion of "People recorded as a non-birth child"
(HasNonBirthChildRelation), which lists the children themselves.
Close Gramps.
Extract the downloaded ZIP archive.
Copy or extract the project folder into your Gramps user plugin folder.
Keep the complete folder structure unchanged, including any locale folder
included with the project.
The user plugin folder is normally located here:
%AppData%\gramps\gramps<version>\plugins\~/.gramps/gramps<version>/plugins/~/Library/Application Support/gramps/gramps<version>/plugins/Replace <version> with the Gramps version folder used on your system.
Start Gramps again.
Check that the installed filter, rule, gramplet or tool is available where described in the project documentation.
If the project does not appear or fails to load, check Help → Plugin Manager for an error message.
Because the project was installed only in the user plugin folder, removing that folder removes the test installation without changing the original Gramps program files.
HasNonBirthChildRelation to review them.GNU General Public License, version 2 or later — same as Gramps. See
LICENSE.
This addon ships with a Danish translation and is ready for more languages. Layout:
<addon folder>/
*.py *.gpr.py
po/
template.pot # all translatable strings (source)
da-local.po # Danish translation (source)
locale/
da/LC_MESSAGES/addon.mo # compiled Danish catalog (used at runtime)
Gramps loads locale/<lang>/LC_MESSAGES/addon.mo automatically when the
interface is set to that language, and falls back to English otherwise. The
.mo filename must be exactly addon.mo.
To add another language, e.g. German:
po/template.pot to po/de.po and translate each msgstr.locale/de/LC_MESSAGES/addon.mo. With GNU gettext:
msgfmt po/de.po -o locale/de/LC_MESSAGES/addon.mo
(or use the Python polib package: pofile('po/de.po').save_as_mofile(...)).Only strings unique to this addon are translated here; standard Gramps terms (category names, "ID:", the relationship-type names in the drop-down, etc.) come from Gramps' own translations automatically.
https://myown-project.dk/