I found the answer.
In the jsp, enter the I18nUtil class, the Locale class, and the UIUtil class:
<%@ page import="org.dspace.core.I18nUtil" %>
<%@ page import="java.util.Locale"%>
<%@ page import="org.dspace.app.webui.util.UIUtil" %>
Inside the showCommunity method, capture the current locale from the request:
Locale sessionLocale = UIUtil.getSessionLocale(request);
Then, down where you call c.getName(), you change it to:
I18nUtil.getMessage("
jsp.home.com.name." + c.getName())
or whatever name you have given your entry in Message.properties.
And do not forget to do the same with the collections.
Very simple solution!
Best regards,
Paul