...
Code Block | ||
---|---|---|
| ||
private String myAuthor; public String getAuthor() { return myAuthor; } public void setAuthor(String author) { myAuthor= author; } |
...
Anchor | ||||
---|---|---|---|---|
|
Because we want the word “Author” to be translated in the proper language in the Workspace as well as the website environment, we must define a language label for it. The element archetype generated two language files, one for US English (messages_en_US.properties
) and one for Dutch (messages_nl_NL.properties
) (additional language files can also be added). When creating language files, be sure that they conform to the development guidelines (G026, G027 and G028 in particular).
...