Hi!
tldr: ckeditor works at Catalogue/"Categories and products" only with English product description not descriptions in other languages (allocated space for ckeditor is just blank)
I installed zencart using the how-to on zencart page. Then I made a copy of english folder and .php in admin/includes/languages/ and the same @ includes/languages/ and made admin/includes/languages/latvian and .php and @ includes/languages/latvian and .php
Basically I checked out available language pack .zip files folder tree and how-to's and instead of copying new files in duplicated english and renamed them to latvian.
Added additional language in admin interface and made it default
Then I started translating .php by .php for the shop (just includes/languages/latvian) I have no plan on translating admin section. Though the admin section has a drop down menu for languages too. (Shop has buttons with flags)
Everything was working well and as I thought it should.
So I installed CKeditor from zencart page plugin section. I used the included how-to and it worked but only if I use English as my admin page language. It wouldn't be problematic but when I add new products to catalogue there is a blank section for my language where the ckeditor windows should be and then there is the English product description section where the editor shows up and works.
So how do I add a new (duplicate of English) language to ckeditor so it works in adding new products(Catalogue /"Categories and products") and possibly Tools/"Define pages editor" otherwise the ckeditor window is just blank
I susspect the problem is in
admin/includes/ckeditor.php
cause it has
$var = zen_get_languages();
$jsLanguageLookupArray = "var lang = new Array;\n";
foreach ($var as $key)
or some other section (check the whole file from the .zip at download plugin section http://www.zen-cart.com/downloads.php?do=file&id=1098)
I also copied editors/ckeditor/lang/en.js to lv.js That didn't work
I also checked localization/Language Code: lv it fits the editors/ckeditor/lang/_languages.js definitions
Double checked file permissions they are the same as for English folders.
I guess its all in the javascript code inside the admin/includes/ckeditor.php which I dont understand
Thanks in advance :)




