@message

Properties File:

    message.helloWorld=Hello World!
    message.helloName=Hello {0}!
    message.helloWorld=Bonjour tout le monde!
    message.helloName=Bonjour {0}!

Without Argument:

    @message("message.helloWorld")
    Result: Hello World!

With Argument:

    @message("message.helloName", "Lawrence")
    Result: Hello Lawrence!

Default Message:

    @message({code: "message.code.null", default: "Output me if code not found"})
    Result: Output me if code not found

With Locale:

    @message({code: "message.helloWorld", locale: "fr"})
    Result: Bonjour tout le monde!

With Locale and Argument:

    @message({code: "message.helloName", locale: "fr", "Lawrence"})
    Result: Bonjour Lawrence!

Default Message with Locale:

    @message({code: "message.code.null", default: "Output me if code not found", locale: "fr"})
    Result: Output me if code not found