0

Can't translate messages to another language

asked 2014-11-16 11:44:16 +0800

bkstorm gravatar image bkstorm
38 3

updated 2014-11-16 11:54:07 +0800

I want to translate messages from English to Vietnamese. I copy all properties files into package /metainfo/mesg like this page: books.zkoss.org/wiki/ZK%20Developer%27s%20Reference/Internationalization/Warning%20and%20Error%20Messages) But nothing changes, messages continue displaying in English. Here is my project's structure. www.dropbox.com/s/cgv6tgm2xx2cqax/Zk%20translate%20messages.PNG?dl=0 And here is the message: www.dropbox.com/s/8tawwgixqj2ehs2/Datebox%20format%20message.PNG?dl=0 I don't have enought karma to post link, sorry about that. What's wrong?

delete flag offensive retag edit

Comments

It works. Thank Darksu very much. I don't know why this project can't see the resource that I have defined. Everything is ok with another project.

bkstorm ( 2014-11-16 14:08:59 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-11-16 12:30:04 +0800

Darksu gravatar image Darksu
1991 1 4

Hello bkstorm,

From what i can see your language is currently supported by zk. There is a possibility that the project can not see the resource that you have defined.

But you could try changing a particular message as presented at the following url at the section Change particular message:

http://books.zkoss.org/wiki/ZK%20Developer%27s%20Reference/Internationalization/Warning%20and%20Error%20Messages

The message you wish to change can be found at the following url:

http://books.zkoss.org/wiki/ZKMessages/Vietnamese/msgzulvi.js

Please let me know if you need more assistance.

Best Regards,

Darksu

link publish delete flag offensive 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-11-16 11:44:16 +0800

Seen: 4 times

Last updated: Nov 16 '14

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