I have a JSF2 application and so far I'm doing the internationalization in a typical way with a message resource bundle; example:
<f:view contentType="text/html" locale="#{loginHandler.currentLocale}">
<f:loadBundle basename="MessageResource" var="msg" />
<h:outputText value="#{msg.user_firstNameLabel}" />
My problem is I have an information page with paragraphs of content in two languages. I prefer not to take every line of text on the page and make them key|values in the message properties file.
If the content is in two html files; say contactus_en.html and contactus_fr.html, what would be the right way to display the right language based on the current locale?
Thanks! Rob