cancel
Showing results for 
Search instead for 
Did you mean: 

activiti translation

ahoussam1
Champ in-the-making
Champ in-the-making
Hello dear
I have researched a lot about the "translate Activiti Explorer to another language" subject
I didn't found any clear article about how to make that process..!
Also Activiti documentation does not contains something about translate Activiti Explorer to another language ..
Why ..? … I didn't know the answer !!
Although the application is worth the existence of such a clear and procedural document for those
Is there one that can show me on that procedural step by step ..?

Thank you very much
19 REPLIES 19

ahoussam1
Champ in-the-making
Champ in-the-making
hi dear
I got a same error
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: org.springframework.context.NoSuchMessageException: No message found under code 'app.title' for locale 'en_US'.
com.vaadin.terminal.gwt.server.AbstractApplicationServlet.handleServiceException(AbstractApplicationServlet.java:1010)
com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:548)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:55)
root cause

org.springframework.context.NoSuchMessageException: No message found under code 'app.title' for locale 'en_US'.
org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:159)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
…..

ahoussam1
Champ in-the-making
Champ in-the-making
I read on this link:
https://forums.activiti.org/content/activiti-explorer-greek-language-menu
Mr. barrez (about The same problem) answer :
those resources will be put in the WEB-INF folder at runtime. So what are you looking for: runtime modification of the war or are you starting from the source code and do your own build?

I do it and I got the same error!
Is the answer to this problem?

faizal-manan
Champ in-the-making
Champ in-the-making
where did you put message_ar.properties file?

ahoussam1
Champ in-the-making
Champ in-the-making
Hi,
I put a file in WEB-INF directory

faizal-manan
Champ in-the-making
Champ in-the-making
WEB-INF/classes please

ahoussam1
Champ in-the-making
Champ in-the-making
Thank you for gave me your time, and help
I got activiti page with en language, not ar

faizal-manan
Champ in-the-making
Champ in-the-making
edit and translate manually the content in message_ar.properties
refer message_de.properties as guideline

ahoussam1
Champ in-the-making
Champ in-the-making
thank you ver much

ahoussam1
Champ in-the-making
Champ in-the-making
I comparing the file with other files such as messages_fr.properties, messages_it.properties, messages_de.properties from activiti source
I didn't find any fault
I added fr file to WEB-INF/classes   directory
Application only show in English
The problem is how to chose the language that I want
I think that there is something that must be done!

faizal-manan
Champ in-the-making
Champ in-the-making
1. make sure you had translate then content from en to ar for message_ar.properties
2. make sure you had make changes to activiti-ui-context.propertes, refer to pos #8

restart tomcat