Hello,
I’m building with Drupal 6.9 a multilingual (English, Hebrew, Arab, Greek & Turkish) site for a Middle Eastern NGO (http://b1.mideastpan.org).
Setting of a multilingual site with I18 pack was, for a non-programmer ‘Drupal newbie’, pretty straightforward. It seems that content translation and switching between interface & menu languages are working fine (Bravo).
After setting a forum, the following ‘strange’ problems appear:
Initially I’ve set the Forum content type to ‘Multilanguage enabled + translation’ which followed with the creation of 3 nodes for every new forum-topic node I tried to create.
I thought that this would be to complicated for me to tweak, so I continued to set the Forum content type to be language disabled but to allow input in all languages:
Multilingual support:
Disabled
Extended language support:
Extended - All defined languages will be allowed.
Which seems to generally work-
When you’re in English or in Arabic modes (/en/ or /ar/) You can go to Forum in the menu and post a new forum topic. Then you are returned safely and your topic will show on the forums. If you’ll switch languages ( /ar/-/en/-/he/ prefixes or with language switchers at the bottom of the pages), you’ll still see the forum post that was entered.
But, stangely, this doesn’t seem to work in Hebrew mode:
1. After posting a new forum topic in /he/ the menu gets messed-up.
2. In /he/ you wouldn’t see any forum topics (the lists will show 0).
tried to ‘reset to default’ the Forum content type…
disabled and reenabled the Forum module…
searched forums and the web…
no solution yet…
posted on Drupal's main forums too (http://drupal.org/node/362026)
any suggestions, insights or advises?
many thanks in advance,
menros
Comments
questions
answers
hello
and thank you
disabled Multilingual support
Your language settings are fine.
I am not familiar with the "Extended language support" (as it is not part of the Drupal core, it comes from i18n) but when you set Multilingual support to Disabled, then the node will be saved with default language, what could explain why don't you see any Hebrew posts..
I would try to enable the multilingual support for forum content type, and try to use Drupal6 first without the i18n module.
I am having a similar
I am having a similar problem. I have tried all language settings for the forum content type. My problem is that all forum posts are posted in my sites default language and not in the current site language.
You can set Extended - All defined languages will be allowed
But then you get a language drop-down and that is not what I need.
Any help is deeply appreciated.
node language
yes, that is the Drupal's default behavior (when creating a non-multilingual node).
but you need to set the language. The only option to set the node language is with that language drop-down, or hook_form_alter on node_form..
check locale_form_alter() to see how can you modify the node language..
note: when you set the forum content type to multilingual you will see that language drop-down..
I have found an answer
I have found an answer similar like this. But I am new to drupal module development. I have not found a module that implements what you are describing.
it's not a module
it is a Drupal function to override any form in your own module..
http://api.drupal.org/api/function/hook_form_alter/6
But if you are new to Drupal development, then it probably won't help you. And I do not know about any module which would set the node language based on the active language (http://drupal.org/taxonomy/term/97), so the only option for now is that language drop-down..
I understand. But it would
I understand. But it would be nice to have a simple module that implements the functionality that I need. I will give that a try I am afraid :-).