This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
hi. joe
below code in file: mojoportal\Web\Controls\Editors\CKEditor\CKEditorControl.cs, line: 266:
is not accurate for some cultures, e.g, if culture is zh-CN, there is a zh-cn.js for CKEditor, but mojoportal still use zh.js.
////////////////////////////////// Begin ////////////////////////////////////////////////////////////////////////////
script.Append(",language:'" + culture.TwoLetterISOLanguageName + "'");
////////////////////////////////// End ////////////////////////////////////////////////////////////////////////////
So, I hope you can change the above line code to below code:
//////////////////////////////////// Begin /////////////////////////////////
string lang = culture.Name.ToLowerInvariant(); if (!System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath(basePath + "lang/" + lang + ".js"))) { lang = culture.TwoLetterISOLanguageName; }
script.Append(",language:'" + lang + "'");
///////////////////////////////// End //////////////////////////////////
Thanks;
I just pushed a change to the source code repository that should fix this. Can you test it and confirm the fix?
Thanks,
Joe
yes, it works now.
Thanks.