After upgrading a multilingual website from drupal 5.15 to drupal 6.9 with custom theme. I've been banging my head against the wall with language problems. After upgrading my prefixes don't work anymore as they used to, and no matter what I try, the $language->language is always the default website language.
I have three languages and they used to work on drupal 5 with prefixes, like http://example.com/en, http://example.com/fi, http://example.com/zh-hans
Drupal 6.9 seems to use the prefixes as "part of the url", and not as language prefixes.
For example:
Drupal 5.15: if I go to http://example.com/[language prefix]/node/6 it shows the correct information without depending of the prefix (it can be whatever language and it only affects to site layout but not to the content)
Drupal 6.9: I can only view the node by http://example.com/node/6 and if I add prefix before node I always get "page not found"
Settings I've used:
- On Site configuration > Languages: Path prefix only
- On content types and workflow settings: Enabled, with translation
I have newest stable i18n-module installed.