GEDFact_assistant - relationship names not localised
Bug #898444 reported by
Muadh Hamidaddin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webtrees |
Fix Committed
|
Low
|
fisharebest |
Bug Description
$parentlinks and $spouselinks in
\modules_
and
\modules_
are not translated as evident in Family navigator.
Changed in webtrees: | |
assignee: | nobody → fisharebest (fisharebest) |
importance: | Undecided → Low |
status: | New → Confirmed |
summary: |
- missing translation + GEDFact_assistant - relationship names not localised |
Changed in webtrees: | |
status: | Confirmed → Triaged |
Changed in webtrees: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
This is very bad.
Not only are relationship names hard-coded into English, the code has hard-coded internal variables in English, that are actually translated. e.g.
if ($currpid=="Wife" || $currpid= ="Husband" ) {
$parentlinks .= "'Father in Law',"; // label = 1st Gen Male Relationship
} else {
$parentlinks .= "'Grand-Father',"; // label = 2st Gen Male Relationship
}
So, the variable $currpid isn't set to "Wife" or "Husband", but to the *translated* name of that relationship. Hence when you change language, the "father-in-law" relationship is actually displayed as "grandfather".