6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/10/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3596] language from the dropdown
*
Your Email Address
*
Spam protection
Enter the letters below:
__ __ . .. ..__. / `/ `| ||\/|| | \__.\__.|/\|| ||__\
Comment
> Yes: > > =========================== > > yavin4:/tmp# locale -a > > C > > français > > french > > fr_FR > > fr_FR@euro > > fr_FR.iso88591 > > fr_FR.iso885915@euro > > nl_NL@euro > > nl_NL.iso885915@euro > > POSIX > > =========================== > > yavin4:/tmp# ls -l /usr/share/locale/nl/LC_MESSAGES/tar.mo > > -rw-r--r-- 1 root root 12194 2004-08-03 16:31 > /usr/share/locale/nl/LC_MESSAGES/tar.mo > > yavin4:/tmp# > > =========================== > > yavin4:/tmp# strings /bin/tar | grep memory > > memory exhausted > > (LANG=fr_FR; LANGUAGE=fr_FR; LC_MESSAGES=fr_FR; gettext tar "memory > exhausted" ) > > mémoire épuisée > > > > export TEXTDOMAINDIR=/u02/client/ackbar/www/app/horde/locale > > (LANG=fr_FR; LANGUAGE=fr_FR; LC_MESSAGES=fr_FR; gettext horde "Welcome" ) > > Bienvenue > > ========================================= > > more /u02/client/ackbar/www/app/horde/langtest.php > > <?php > > > > setlocale(LC_MESSAGES, 'french'); > > putenv('LANG=french'); > > putenv('LANGUAGE=french'); > > // use the tar test. > > echo dgettext('tar', 'memory'); > > echo '<br />'; > > > > // Specify location of translation tables > > bindtextdomain('horde', './locale'); > > > > // Choose domain > > textdomain('horde'); > > > > // Print the already tested message > > echo _("Welcome"); > > echo '<br />'; > > > > // this should print the same. > > echo dgettext('horde', 'Welcome'); > > > > ?> > > > > But: > > > > yavin4:/tmp# php /u02/client/ackbar/www/app/horde/langtest.php > > memory<br />Welcome<br />Welcome > > > > > >
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