FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » multiple urls for different languages?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
multiple urls for different languages? [message #14935] Tue, 25 November 2003 18:03 Go to next message
Tobias Eigen is currently offline  Tobias Eigen   United States
Messages: 85
Registered: June 2003
Location: Seattle, WA USA
Karma: 0
Member
Hi,

Is there a way to use different language themes based on URLs? I.e. http://fud.prohost.org/forum/fr or http://fud.prohost.org/forum/en to show french or english? Or would I have to create two FUD installations, one for each language?

Cheers,

Tobias


Kabissa - Space for change in Africa
Re: multiple urls for different languages? [message #14936 is a reply to message #14935] Tue, 25 November 2003 18:07 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
There is no way to do it. Each registered user can pick a language of choice via their profile, but anonymous users have their theme picked by the admin.

FUDforum Core Developer
Re: multiple urls for different languages? [message #14937 is a reply to message #14936] Tue, 25 November 2003 18:10 Go to previous messageGo to next message
Tobias Eigen is currently offline  Tobias Eigen   United States
Messages: 85
Registered: June 2003
Location: Seattle, WA USA
Karma: 0
Member
Hmm.. but that kind of sucks for people who don't speak one language or another. For integrating FUD into multilanguage websites (i.e. the type that say "click here to swtich to english/french") it would be sweet to be able to link to something like /forum/index.php?theme=default or /forum/index.php?theme=default-french

Any idea how I could get that going? I think I may also be able to do it with two separate instances of FUD, but that would be a bit unwieldy for upgrades etc.

Thanks for the fast response -

Cheers,

Tobias


Kabissa - Space for change in Africa
Re: multiple urls for different languages? [message #14939 is a reply to message #14937] Tue, 25 November 2003 18:27 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can modify users.inc.t to support this functionality, it defines the theme for the session.

FUDforum Core Developer
Re: multiple urls for different languages? [message #15103 is a reply to message #14935] Tue, 02 December 2003 15:41 Go to previous messageGo to next message
Tobias Eigen is currently offline  Tobias Eigen   United States
Messages: 85
Registered: June 2003
Location: Seattle, WA USA
Karma: 0
Member
Could anyone help me with this? I am not able to do the coding unfortunately.. seems to me this should be useful functionality anyway, since if you want to work with people that speak multiple languages you can't have a registration page in only (say) english or french. A link at the top to switch from english to french would be really useful. Any help is appreciated.

Best,

Tobias


Kabissa - Space for change in Africa
Re: multiple urls for different languages? [message #15108 is a reply to message #15103] Tue, 02 December 2003 16:25 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
Actually, I've failed to see your problem Sad

FUDforum is a FORUM script. People are visiting FORUM in order to DISCUSS something or just to read what other people are discussing. Thus either these people HAVE TO understand ALL languages used in mixed discussion, or you have to have SEPARATE forums for different languages.

You can't just SWITCH - e.g. if I can't read english and just "pushing" button "French", it makes no good to me - all messages STILL in english!


Re: multiple urls for different languages? [message #17088 is a reply to message #15108] Tue, 16 March 2004 08:53 Go to previous messageGo to next message
humus is currently offline  humus   Norway
Messages: 17
Registered: March 2004
Karma: 0
Junior Member
Gady wrote on Tue, 02 December 2003 11:25

Actually, I've failed to see your problem Sad

FUDforum is a FORUM script. People are visiting FORUM in order to DISCUSS something or just to read what other people are discussing. Thus either these people HAVE TO understand ALL languages used in mixed discussion, or you have to have SEPARATE forums for different languages.

You can't just SWITCH - e.g. if I can't read english and just "pushing" button "French", it makes no good to me - all messages STILL in english!


Well, I see the problem, even if it's a bit much to ask for:

I'm involved in a large news website with two distinct reader groups; local readers (about 2 million pr. month) and international readers, who visit our english section to read our local news in English.

I'd really like to implement FUD, but I'd also like to try and solve the problem mentioned. We need two forums - one in Norwegian for Scandinavians, and one for our English readers. The possibility of somehow integrating these two would save a lot of troubles, since the mods would be the same for both. Also, the local readers would be able to discuss both in the local- and the english-speaking section using the same logon. And of course, one database instead of two makes things easier.

So one possibility might be to toggle the language for each group? And/or have two register-pages - one in Norwegian and one in English - so we can choose where to send users based on what URL they some from?
Re: multiple urls for different languages? [message #17094 is a reply to message #17088] Tue, 16 March 2004 14:26 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
1) You can install as many forum as you like within the same database.

2) You could install 2 forums and modify the 2nd to use the user database of the first. Then have one forum be in English and the 2nd in Norwegian.

3) You could add a hack to allow a drop down to change languages, but you'd still have the problem I've mentioned in my earlier reply.


FUDforum Core Developer
Re: multiple urls for different languages? [message #17101 is a reply to message #17094] Wed, 17 March 2004 07:53 Go to previous message
humus is currently offline  humus   Norway
Messages: 17
Registered: March 2004
Karma: 0
Junior Member
Thanks - I'll look into that!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: GLOBAL settings confusions in 2.6.0 vs 2.5.x
Next Topic: read/unread icons.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 01:36:44 GMT 2024

Total time taken to generate the page: 0.03227 seconds