We want to support internationalization and localization of the English and French language with our web application.
Is it feasible by using the same
jsp files to read different properties file?
i.e. We plan to create a 'messages_en.properties' file for the English resource bundle
and 'messages_fr.properties' file for the French resource bundle.
Can the properties files be placed in the same source directory, then build English & French resource bundles and put in the same 'war/WEB-INF/classes' directory?
For our jsp files, we will do
<fmt:bundle basename="class.path.to.our.resource.bundle">
<fmt:message key="our.message.key"/>
</fmt:bundle>
Is there any tutorial or sample source code?
We use spring 2.5.6.SEC01.