Elxis CMS Forum

Support => General => Topic started by: maple on April 26, 2016, 19:08:55

Title: CKEditor disapeared on language change in Control Panel for Elxis Orion 4.4
Post by: maple on April 26, 2016, 19:08:55
Hi,

when I try to change the Control Panel interface language to Spanish, the CKeditor doesn't display... If I turn back to English, then display again.

I just installed the las version Elxis Orion 4.4 - rev1814

thanks
Title: Re: CKEditor disapeared on language change in Control Panel for Elxis Orion 4.4
Post by: datahell on April 26, 2016, 20:08:17
I just checked it and it works fine for me (I use firefox). In the article's edit page I did these checks:
1. Change administration language interface to Spanish, editor loads fine.
2. Change translation drop down to Spanish, editor loads fine.

To make sure spanish language files are updated for Elxis 4.4 do this:
Go to Site > Languages
At the bottom of the page, at "Check translation" section select:
Language 1 = en, Language 2 = es, File = com_content.php
Click "Check"
On the comparison page see if a language string is missing (especially at the bottom).
Title: Re: CKEditor disapeared on language change in Control Panel for Elxis Orion 4.4
Post by: maple on April 26, 2016, 21:09:30
Hi Datahell,

i just checked. It seems that there are not any missing string. Link screenshot attached http://imgur.com/Qjj8r7R (http://imgur.com/Qjj8r7R)

thanks



I just checked it and it works fine for me (I use firefox). In the article's edit page I did these checks:
1. Change administration language interface to Spanish, editor loads fine.
2. Change translation drop down to Spanish, editor loads fine.

To make sure spanish language files are updated for Elxis 4.4 do this:
Go to Site > Languages
At the bottom of the page, at "Check translation" section select:
Language 1 = en, Language 2 = es, File = com_content.php
Click "Check"
On the comparison page see if a language string is missing (especially at the bottom).
Title: Re: CKEditor disapeared on language change in Control Panel for Elxis Orion 4.4
Post by: maple on April 26, 2016, 22:43:39
Hi,

For upgrade I used the patch44, elxis_patch_4.3_to_4.4_r1814. Also replaced all CKeditor files from the elxis_4.4_orion_rev1814.

Attached an screenshot about the problem.

thanks
Title: Re: CKEditor disapeared on language change in Control Panel for Elxis Orion 4.4
Post by: datahell on April 27, 2016, 09:09:53
Ooops, it is catalan in the editor, not spanish.

Which is site's default language?
The problem appears when you switch interface language (upper right) to spanish? If it english the editor works ok?
Or the problem appears with catalan selected in the editor area? If you switch to english the editor works ok?
Title: Re: CKEditor disapeared on language change in Control Panel for Elxis Orion 4.4
Post by: maple on April 27, 2016, 11:32:07
Hi,

Site's default Language: Catalan

Yes, when I switch interface language (upper right) to Spanish, then appear the problem.

Interface language ES -- CKeditor problems.
Interface language EN or any other  --  No CKEditor problems

So, I only have problems when I choose Spanish Interface language, Independtly the language in the selected editor area choosed or site's default language.

I attached an screenshot with english interface language, catalan selected in the editor area (catalan is site's default). Without problems in this case.


thanks

[Edit] Note: My father use site's default language in catalan and use spanish in Interface Language. All catalan people know spanish. Catalanonia region is spain, for now... hehe... (almost a half want to be independent state in the near future). Need to translate spanish interface to catalan when i have time.

[Edit] I just attached an screenshot with catalan interface language without problems in ckeditor. But I need to translate the interface files to catalan.

[Edit] So, you can see that catalan and spanish are not in too much good relations even in elxis...



Title: Re: CKEditor disapeared on language change in Control Panel for Elxis Orion 4.4
Post by: datahell on April 27, 2016, 17:45:28
I believe you are right, Catalan and Spanish don't feel good when they are together :-o
BTW as Catalonian you are a little bit Greek (ancient Greeks established colonies there).

I tested the editor in my local site with Spanish and Catalan and I don't see any problem. I believe you have a javascript error due to half-updated editor. I am 99,9% sure about that. I could be 100% sure only if I had access to your site. In 4.4 the editor fully updated.

Do this (the easy step): hit control+F5 in your browser to make sure you don't use a cached version.
If the problem is not solved do this (the hard step): Download Elxis 4.4 from elxis.org . Go to your site's ftp ad delete this folder: includes/js/ckeditor/. Get that folder from elxis 4.4 release and re-upload it on your site.

See if the problem is solved. If not, send me a personal message with user/pass to your site to check it.

Title: Re: CKEditor disapeared on language change in Control Panel for Elxis Orion 4.4
Post by: maple on April 28, 2016, 11:44:03
I'm a little bit greek then! Hey, these steps doesn't work. I will send you a personal message right now.
Title: Re: CKEditor disapeared on language change in Control Panel for Elxis Orion 4.4
Post by: datahell on April 29, 2016, 12:37:01
The Spanish language file for editor's youtube plugin was missing. I uploaded file es.js and some other language files on your site and now it works fine. I release an updated version of Elxis 4.4.
Title: Re: CKEditor disapeared on language change in Control Panel for Elxis Orion 4.4
Post by: maple on April 29, 2016, 13:42:07
Ooh, thank you so much for your work, datahell! I will update the other site!