1

Change text error message - Error in Out of Range message in Catalan

asked 2014-04-16 12:58:13 +0800

Marky gravatar image Marky flag of Spain
284 7
http://www.no/havent-doma...

updated 2014-04-29 08:36:34 +0800

Hi, I need to change OUTOFRANGE message in Catalan. I followed the point "Change particular message" of this http://books.zkoss.org/wiki/ZKDeveloper'sReference/Internationalization/WarningandErrorMessages but I'm not successful. I created zk-labelca.properties and in it I added this line:

MZk.2043= My message

I'm not sure if I'm defining it well or if I have to indicated somewhere that it must use my zk-label_ca.properties file.

What am I doing wrong?

Thanks, Marky

BTW, I want to change it because it has a single quote and it has a parameter to replace. When replacing parameters in sentences with single quotes they are not replaced unless another single quote is inserted in front of the first. So the sentence now is:

"Fora dels valors a l'abast ({0})."

and it must be:

"Fora dels valors a l''abast ({0})."

for the {0} parameter to be replaced.

Any idea of how can I solve it?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-04-17 14:06:34 +0800

IngoB gravatar image IngoB flag of Germany
256 6

Try to rename your properties to "zk-label.properties". This is the fallback filename.

link publish delete flag offensive edit

Comments

But I only want to change the label in catalan

Marky ( 2014-04-22 07:54:19 +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

Follow
1 follower

RSS

Stats

Asked: 2014-04-16 12:58:13 +0800

Seen: 19 times

Last updated: Apr 29 '14

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