cancel
Showing results for 
Search instead for 
Did you mean: 

Translation in Explorer

ericsnyder
Champ on-the-rise
Champ on-the-rise
I am looking for the code that sets the terms like "Reports" on the main menu bar. I have tracked the code down to the file that sets the key (Messages.java) and have found the key to the text "Reports" (which is line 284)
  String REPORTING_MENU_RUN_REPORTS = "reporting.menu.run.reports";
From there I am lost regarding where the text actually comes from.

Where does the text come from for each language?
3 REPLIES 3

udoderk
Champ in-the-making
Champ in-the-making
I am looking for the code that sets the terms like "Reports" on the main menu bar. I have tracked the code down to the file that sets the key (Messages.java) and have found the key to the text "Reports" (which is line 284)
  String REPORTING_MENU_RUN_REPORTS = "reporting.menu.run.reports";
From there I am lost regarding where the text actually comes from.

Where does the text come from for each language?
look at activiti-explorer-5.11-sources.jar\
messages.properties 
messages_de.properties 
messages_es.properties 
messages_fr.properties 
messages_it.properties
messages_jp.properties 
messages_zh_CN.properties

or thatgithub entry
and that spring bean from activiti-ui-context.xml
  <bean name="i18nManager" class="org.activiti.explorer.I18nManager" scope="session">
    <property name="messageSource">
   <bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
     <property name="basenames">
       <list>
         <value>messages</value>
       </list>
     </property>
   </bean>
    </property>
  </bean>

ericsnyder
Champ on-the-rise
Champ on-the-rise
udoderk:

Thank you. I am using activiti-engine as a dependency…that is why I could not find it. Thank you much!  Smiley Happy

johnmark091
Champ in-the-making
Champ in-the-making
here is a great <a href="http://www.abstranslate.com/">webpage translation</a>. you will check this.
Thanks