[Tickets #10823] horde-translation locale and env inconsistency

bugs at horde.org bugs at horde.org
Thu Dec 1 08:04:20 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10823
------------------------------------------------------------------------------
  Ticket             | 10823
  Created By         | maciej.uhlig at us.edu.pl
  Summary            | horde-translation locale and env inconsistency
  Queue              | Horde Base
  Version            | 4.0.12
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


maciej.uhlig at us.edu.pl (2011-12-01 08:04) wrote:

There is putenv('LANG=en'); line in horde-translation script. LANG  
value is hardcoded. While running the script with locale=pl_PL option,  
every exec of gettext produces a message "couldn't set locale  
correctly". The error message disappears when the above script line is  
changed to putenv('LANG=pl_PL'); but this can't be an accepted  
solution. If environment variable has to be set it should be set using  
script locale option in order to gettext could get the consistent  
information.





More information about the bugs mailing list