6.0.0-beta6
4/10/26

[#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 6/8/10 (5785 days ago)
Due
Updated 6/29/10 (5764 days ago)
Assigned 6/15/10 (5778 days ago)
Resolved 6/29/10 (5764 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