WebsiteBaker Support (2.13.x) > General Help & Support
Can't se any menu in editor
sternchen8875:
--- Quote from: Cazz on October 22, 2022, 08:04:57 PM ---I'm from Sweden and did set Swedish as default language in my profile.
When I change my profile to English I can now see the menu in editor.
--- End quote ---
There is a little problem with the language settings in WB. WebsiteBaker use "se" as language code for the swedish language, but the CKEditor use "sv" instead of the "se". Both program's use an ISO-Code, but not the same :|
a simple solution is a copy of the original swedisch language file in the ckeditor in modules/ckeditor/ckeditor/lang
open this file with a simple editor like Notepad or notepad++, save it as se.js, open this se.js again and change the first part
--- Code: ---CKEDITOR.lang['sv']
--- End code ---
to
--- Code: ---CKEDITOR.lang['se']
--- End code ---
thats all. Maybe, you've to clear the browser-cache, but try it at first with a simple reload of the page with the editor. ;-)
this solution is upgrade-safe, but it is recommended, to do the same after the next upgrade, so that you have the latest language file version everytime.
P.S.: some of the plugins has also language files, any of them also in swedisch, but with the wrong filename. For example the plugin placeholder in modules/ckeditor/ckeditor/plugins
copy the existed file sv.js, rename it to se.js, change the language code in the first line (see my code example in the top). thats all
if you want, take a look into the folders from every plugin. a couple of them use a folder, called "lang". if you found there no file in your language (means sv.js or se.js), copy the en.js, rename it to se.js, change the language code in the first line (my example) and translate it line by line.
Cazz:
Hi
Back again :-(
I did got it to work on my test server but when I did same in my "real" web server I get same error even if I trying to change to English.
I did try with the copy sv,js to se.js and edit the file.
Strange.
sternchen8875:
Crazy...
is it possible, to give me access to your test-installation or access to "my own" wb-installation as super admin? (means: a new installation somewhere in a sub-folder, but on this server with the problem).
Have you change some other things like add more plugins / using a different editor, not ckeditor/ using "private" wb_ckconfig.js in your frontend-template etc ?
you see in the screenshot, it works in swedish
Cazz:
ohh sorry I did not see that you have replay.
I going to try a little more and if I don't get it to work I can setup a dummy Website Baker for you to try
Navigation
[0] Message Index
[*] Previous page
Go to full version