How it works? Just with & {messages.message1} when the message file looks like this:
message1 = hallo
According to the documentation, use:
&{'messages.message1'}
(pay attention to single quotes) and add "messages" to the file:
messages.message1=your text
Everything you need to know about internationalization can be found in the documentation here .
You do not need the messages part in your example. If you want to find messages1 in your message file just use
messages
messages1
&{messages1}
I would recommend reading the documentation as it explains how to use several languages ββand how to install it. Also consider this example - Java Playframework interpretation does not work .
Source: https://habr.com/ru/post/892656/More articles:How can I get JSF 2.0 to include JS as "application / javascript" instead of "text / javascript", - javascriptHow to programmatically view a keyboard in a different language in an Android application? - androidhow to get DateTime from the Internet (external resource - not from the server) - c #Add variable to $ _SERVER array via php.ini - phpPassing a list of parameters to a custom action filter in ASP.NET MVC3 - asp.net-mvcHow to print in tabular format in tcl? - formatInterpretation of Java Playframework not working - internationalizationIntegration of Yelp in Android - androidBackgroundWorker does not fire the RunWorkerCompleted event - c #how to fake built-in animation switching applications? - iphoneAll Articles