How can translate 'Can not edit on a protected cell' in ZK Spreadsheet?

asked 2017-03-30 10:19:14 +0800

vladcz gravatar image vladcz
103 3

When I want to edit cell in (protected) zk spreadsheet I have message in the top-left corner of the screen 'Can not edit on a protected cell'.

I want to translate into Polish. How can translate it?

delete flag offensive retag edit

2 Answers

Sort by » oldest newest most voted

answered 2017-03-31 02:37:02 +0800

cor3000 gravatar image cor3000
5833 2 7
ZK Team

updated 2017-03-31 02:37:37 +0800

the messages are defined in zss-3.9.1.jar:/web/js/zss/lang/msgzss.js

you can create a copy of that file in the same classpath folder in your application:

  • in your maven project /src/main/resources/web/js/zss/lang/msgzss_pl.js

or in the war file directly /WEB-INF/classes/web/js/zss/lang/msgzss_pl.js

in this file you can provide the polish translations as needed. e.g. (according to google translate :D)

msgzss = {
   cannotEditProtected : "Nie można edytować na chronionej komórce." 


link publish delete flag offensive edit

answered 2017-04-04 11:24:02 +0800

vladcz gravatar image vladcz
103 3

I put a copy of msgzss.js in my application (both ways). When I have this file in my application, my application does not want to start. (Message: Processing - Przetwarzanie in Polish)

image description

and i Have in console message like this:

`03-Apr-2017 08:51:12.481 WARNING [http-nio-8080-exec-3] org.zkoss.zss.range.SExporters.<clinit>:53 Can't find class for html:org.zkoss.zss.model.impl.html.HtmlExporterFactory

03-Apr-2017 08:51:12.758 INFO [http-nio-8080-exec-3] org.zkoss.util.resource.impl.LabelLoaderImpl.loadLabels Loading labels for pl_PL

03-Apr-2017 08:51:12.759 INFO [http-nio-8080-exec-3] org.zkoss.util.resource.impl.LabelLoaderImpl.loadLabels Loading labels for pl

03-Apr-2017 08:51:12.759 INFO [http-nio-8080-exec-3] org.zkoss.util.resource.impl.LabelLoaderImpl.load Opening jar:file:/home/tomcat/apache-tomcat-8.0.30/webapps/foo/WEB-INF/lib/zssex-3.9.1.jar!/metainfo/zk-label.properties

03-Apr-2017 08:51:12.763 INFO [http-nio-8080-exec-3] org.zkoss.util.resource.impl.LabelLoaderImpl.load Opening jar:file:/home/tomcat/apache-tomcat-8.0.30/webapps/foo/WEB-INF/lib/zss-3.9.1.jar!/metainfo/zk-label.properties

03-Apr-2017 08:51:12.764 INFO [http-nio-8080-exec-3] org.zkoss.util.resource.impl.LabelLoaderImpl.load Opening file:/home/tomcat/apache-tomcat-8.0.30/webapps/foo/WEB-INF/zk-label.properties`

link publish delete flag offensive edit


those server side messages look unrelated. please look into your browser console for JS errors. Could be that special characters are not saved using the correct encoding - causing JS errors.

cor3000 ( 2017-04-05 06:49:16 +0800 )edit

I double checked the file needs to be UTF-8 encoded if non ascii characters are used. And I tested my file in location: /src/main/resources/web/js/zss/lang/msgzss_pl.js

cor3000 ( 2017-04-05 06:58:10 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2017-03-30 10:19:14 +0800

Seen: 38 times

Last updated: Apr 04 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More