This Help forum is for issues relates to the latest release (1.4.6). For issues related to beta or git version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here.

TOPIC: Problem with name display when language is set to

Problem with name display when language is set to 5 years 1 month ago #1

  • miron
  • miron's Avatar
When I set the language to Hebrew, I get the Latin names display incorrectly in FireFox (21.0):
For example:
0 @I000001@ INDI
1 NAME Miron /Ophir/

Display as:
OphirMiron

Is there somewhere in the code or CSS that I can fix this?
The administrator has disabled public write access.

Problem with name display when language is set to 5 years 1 month ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10339
A URL where I can see this would be helpful.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Problem with name display when language is set to 5 years 1 month ago #3

  • miron
  • miron's Avatar
If you fix the demo site crash when switching to Hebrew you will see it there as well.
You are welcome to see it on my site:
www.ophir.org.il/tree

The administrator has disabled public write access.

Problem with name display when language is set to 5 years 1 month ago #4

  • miron
  • miron's Avatar
I was able to fix this by changing Person.php line 1825, from:
$full='<span class="NAME" dir="auto" translate="no">'.preg_replace('/\/([^\/]*)\//', '<span class="SURN">$1</span>', htmlspecialchars($full)).'</span>';
To:
$full='<span class="NAME" dir="auto" translate="no">'.preg_replace('/\/([^\/]*)\//', '$1', htmlspecialchars($full)).'</span>';
The administrator has disabled public write access.
Moderators: makitso
Powered by Kunena Forum