EVEN tag "FOSTER" is not translated

Bug #1055116 reported by ToyGuy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webtrees
Confirmed
Undecided
fisharebest

Bug Description

When adding a child to a family with the PEDI tag of "foster", webtrees created a 1 FAMC/ 2 PEDI foster tag as per the standard. Additionally, in compliance with the standard, it creates a 1 EVEN/ 2 TYPE foster event which awaits the user's enhancement of the tag with additional Individual Event Details. This is also good.

However, the TYPE foster is not translated by webtrees, so it appears in other languages in the far left descriptive column as "foster". Also, it would be nice if a link to the family (a 2 FAMC @Fxxxx@ tag) was added automatically to the 1 EVEN event so that there was a link within the body of the INDI record to link to his or her Foster Family. The navigational sidebar does properly reflect the Foster Family and the descriptors are translated there.

Determined by Phillippe. Submitted by Stephen (ToyGuy)

Changed in webtrees:
assignee: nobody → fisharebest (fisharebest)
Revision history for this message
fisharebest (fisharebest) wrote :

The PEDI tag is translated - e.g. on the Families tab. This is because this tag has a short/fixed list of options, and we have translations for all of them.

But we don't interpret "1 EVEN/2 TYPE xxxx" as such a code. We interpret it as simple text - which we translate if we can.

Unfortunately, we don't have a simple translation for "Foster". Just some complex context-sensitive translations which we can't use here.

With the current code you would need to add a custom translation for whatever xxxx you put in this field.

<<Also, it would be nice if a link to the family (a 2 FAMC @Fxxxx@ tag) was added automatically to the 1 EVEN event so that there was a link within the body of the INDI record to link to his or her Foster Family.>>

I didn't think that the FAMC tag could be used in this context, but a close reading of the spec says you can:

Linkage between a child and the family they belonged to at the time of an event can also be shown
by a FAMC pointer subordinate to the appropriate event. For example, a FAMC pointer subordinate
to an adoption event indicates a relationship to family by adoption. Biological parents can be shown
by a FAMC pointer subordinate to the birth event(optional).

Changed in webtrees:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.