6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/23/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9205] translation.php does not extract framework files strings
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ,. .. ..___ |\/| \./ \ /|__|[__ | | | \/ | ||
Comment
> horde 3.3.9-cvs > > Line 311 of translation.php seems to tell the script to extract > strings from files located under: 'admin', 'framework', 'lib', > 'services', 'templates', 'util' and 'themes', when the processed > module is 'horde'. > > function xtract() > { > > ... > > foreach (array('admin', 'framework', 'lib', 'services', 'templates', > 'util', 'themes') as $search_dir) { > > ... > > The trouble is there's no 'framework' directory under 'horde'. The > framework files lies actually under /usr/share/pear/Horde (at least > on CentOS). > > So framework strings won't be pulled unless I create a symlink under > horde/ named 'framework' pointed to '/usr/share/pear/Horde', so the > translation.php can find them. > > I don't know what the best solution is, maybe tell translation.php to > search for files under something like "get_include_path()" . /Horde > ??? instead of 'framework'? > > This problem is breaking all the translations, since the framework > strings (like Alarm strings, menu strgins etc.) are not being > translated. > > Hope my report helps. >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers