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 |
State ⇒ Resolved
fallback to the default language so that should not be a concern.
Request #9084: HTML compose editor uses Horde language for UIhttp://git.horde.org/diff.php/imp/docs/CHANGES?rt=horde-git&r1=d2f9d03d6c60cd28c6f841cd251a8ac7415a6621&r2=f2fa49b1fe6f47d659b09a71371c4032236ba317
http://git.horde.org/diff.php/imp/lib/Ui/Compose.php?rt=horde-git&r1=f5752c3c412f9193b9176762ff7c8d43781b9c61&r2=f2fa49b1fe6f47d659b09a71371c4032236ba317
State ⇒ Assigned
Priority ⇒ 2. Medium
Type ⇒ Enhancement
Summary ⇒ Ckeditor language should respect session language
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ New
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'].