Annotation Interface MessageSourceBasenames


@Target(TYPE) @Retention(RUNTIME) @Documented @Import(MessageSourceConfiguration.class) public @interface MessageSourceBasenames
Defines additional basenames for Jmix's MessageSource.

This annotation should be placed on the @SpringBootApplication class. In the following example, messages will be loaded from the main com/company/demo/messages.properties bundle and from the additional com/company/demo/othermessages.properties bundle.

 package com.company.demo;

 @SpringBootApplication
 @MessageSourceBasenames({"com/company/demo/othermessages"})
 public class DemoApplication { }
 
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String[] value
      Default:
      {""}