[Tickets #9084] Ckeditor language should respect session language

bugs at horde.org bugs at horde.org
Tue Jun 8 22:48:35 UTC 2010


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

Ticket URL: http://bugs.horde.org/ticket/9084
------------------------------------------------------------------------------
  Ticket             | 9084
  Created By         | leandro.damascena at gmail.com
  Summary            | Ckeditor language should respect session language
  Queue              | IMP
  Version            | Git master
  Type               | Enhancement
  State              | New
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


leandro.damascena at gmail.com (2010-06-08 18:48) wrote:

I don't know it it is a bug or a enhancement, but I think that  
ckeditor language should respect session language from horde  
($_SESSION['horde_language'])... Actually CKeditor obtains the  
language through navigator (detect:function(k,l){var  
m=this.languages;l=l||navigator.userLanguage||navigator.language)...

I've changed the  file "imp/lib/Ui/Compose.php" and worked for  
portuguese brazilian (Function initRTE):
'language: "'.strtolower($_SESSION['horde_language']).'"',

But I know that it isn't the correct way to make this, due to a lot of  
language there isn't the same name of $_SESSION['horde_language'].






More information about the bugs mailing list