6.0.0-alpha14
6/30/25

[#9084] Ckeditor language should respect session language
Summary Ckeditor language should respect session language
Queue IMP
Queue Version Git master
Type Enhancement
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester leandro.damascena (at) gmail (dot) com
Created 06/08/2010 (5501 days ago)
Due
Updated 06/29/2010 (5480 days ago)
Assigned 06/15/2010 (5494 days ago)
Resolved 06/29/2010 (5480 days ago)
Milestone
Patch No

History
06/29/2010 04:26:09 AM Michael Slusarz Comment #3
State ⇒ Resolved
Reply to this comment
Makes sense.  If the language file doesn't exist, ckeditor should 
fallback to the default language so that should not be a concern.
06/15/2010 09:12:25 AM Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
06/08/2010 10:48:33 PM leandro (dot) damascena (at) gmail (dot) com Comment #1
Priority ⇒ 2. Medium
Type ⇒ Enhancement
Summary ⇒ Ckeditor language should respect session language
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ New
Reply to this comment
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'].

Saved Queries