6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/21/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11107] localized access key problem
*
Your Email Address
*
Spam protection
Enter the letters below:
.___. .. .__ ._. [__ |\ || | \ | [___| \||___|__/_|_
Comment
> The problem is that we have to force the locale to use UTF-8 by > defining it in horde/config/nls.local.php: > $horde_nls_config['charsets'] ['fi_FI'] = 'UTF-8'; > > This results that characters are stripped from labels in this piece of code: > return preg_replace('/_([A-Za-z])/', > $GLOBALS['registry']->nlsconfig->curr_multibyte && > preg_match('/[\x80-\xff]/', $label) ? '' : '\1', $label); > > Which I believe does this: If the translated label contains 8bit > character and the locale uses multibyte charset eg. UTF-8 then remove > any character after the underscore. > > Stripping blindly the next character after the underscore results > labels where a character is missing and might even break the > resulting label if the desired access key is not a ascii character.
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