Home arrow Forum
Detect Mamble fish language and set SMF language for guests
  Welcome, Guest. Please login or register.
January 07, 2009, 03:02:08 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Detect Mamble fish language and set SMF language for guests « previous next »
Pages: [1] Go Down Print
Author Topic: Detect Mamble fish language and set SMF language for guests  (Read 2251 times)
Bob Blanchette
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Detect Mamble fish language and set SMF language for guests
« on: June 01, 2005, 06:34:22 PM »

The default language of my SMF is English. I would like to have it change to French for a guest that has selected Mambo in French.

Any suggestions? I saw a post on SMF site, but I don't know how to implement it. http://www.simplemachines.org/community/index.php?topic=17595.0

Bob

Current Config
Hosted Website on Win2K3 IIS 6
PHP 4.3.8
MySQL 4.0.20a-nt
IE 6.0.3790.1830
Mambo 4.5.2.2
SMF 1.0.3
Mambo-SMF Forum ver 1.3.1.2
Mamble Fish 1.5
« Last Edit: June 02, 2005, 12:27:26 PM by Bob Blanchette » Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Detect Mamble fish language and set SMF language for guests
« Reply #1 on: June 02, 2005, 10:20:49 AM »

I believe there is a language pack for SMF. You have to get it from SMF website then configure your forum from SMF admin to set the langauge.

To configure:
Go to "Edit Server Settings"
Then "Default Forum Language" option.
Logged
Bob Blanchette
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Detect Mamble fish language and set SMF language for guests
« Reply #2 on: June 02, 2005, 12:25:46 PM »

Thanks for the reply.

I have the language pack installed. For members, I can select the default language or they select thier own. When a member logs into the site SMF and Mambo are in the same language.

The problem arrises when a Guest enters the Mambo site and chooses French as the language and wants to browse the Forum. Mambo is in French but SMF is in the default language, which in this case is English. I could for example create two Forum buttons, one with
http://www.simplemachines.org/smf/index.php?language=english and the second with http://www.simplemachines.org/smf/index.php?language=french

I prefer not to do this. What would be efficient would be to know what language the user is viewing in Mambo and then when the user clicks on the Forum menu selection, the forum opens in the same language.

Even a language button in the SMF menu would be acceptable.

It is somewhat important to be in the correct language, because I use a language tag in SMF that changes some forum text based on the user's current language.

What ya think?

Thanks,
Bob
Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Detect Mamble fish language and set SMF language for guests « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE