I am struggling with implementing locale messages for a plugin I am developing. I am basing my development from the ToDo Plugin v3. In that plugin, there is a /messages
directory where they have a few different locale messages .properties
files. In the page.xhtml
file, I am attempting to reference one of my messages defined in a .properties
file with the #{msgs.Key}
syntax, but it simply just won’t render the value of the key in the .properties
file. I’ve tried to name the properties file with just _en
and en_us
, neither make a difference.
This is happening on a vanilla 8.2 local instance. Any suggestions?
EDIT: I did find this related post here. The /messages directory was missing from my build.xml (there doesn’t seem to really be a “standard” build file out there anywhere), so I did include that so now the /messages directory is being copied to my resulting .zip file from the build, but still not showing up unfortunately.