hello,
I want to use jforum on a multilingual portal (www.afromix.org). The site is available in 4 language : French, English, Spanish and Portuguese.
For the forums, I want to keep 4 differents sections : one for each language (see
http://forum.afromix.org/en/ ).
Here is what I have done so far (jforum 2.1.4 on
tomcat under macosx)
I have replicated the jforum files in 4 webapps (one for each language).
/fr/ for french
/en/ for english
/es/ for spanish
/pt/ for portuguese
In each context, I have edited the WEB-INF/config/jforum-custom.conf to use the correct language and context
for example for english
i18n.board.default=en_US
forum.link=http\://forum.afromix.org/en/
homepage.link=http\://forum.afromix.org/en
I have created various category (one for each language) and in the template file templates/default/forum_list.htm i have added a filter to only show forums in the "good" language
in /fr/templates/default/forum_list.htm
<!-- START FORUM LISTING -->
<#list allCategories as category>
<#if ((category.id = 1) || (category.id = 4) || (category.id = 7))>
in /en/templates/default/forum_list.htm
<!-- START FORUM LISTING -->
<#list allCategories as category>
<#if ((category.id = 2) || (category.id = 5) || (category.id = 8))>
My questions are :
1) is it the "right way" to do it ???
2) what libraries can I share safely between the 4 web apps = what libraries can i put in the shared/lib on tomcat ?
3) any other ideas ??
--fabrice gaillard
[originally posted on jforum.net by Anonymous]