Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Mambo Bridge Support => Topic started by: tophe on March 07, 2005, 02:47:28 PM

Title: Changing language for the Bridge
Post by: tophe on March 07, 2005, 02:47:28 PM
I finally managed to install the bridge.. Probably missed alot on the way..

It's an AWSOME work but it REALLY needs a good Readme. It's very confusing. Took me several days and still it won't work
without problems...

My question is now.. Where do I change the language for the login box?
Even if I have my Swedish language choosen in the SMF and Mambo some things are still English...
Such as:

QuoteUsername:
Password:

Stay logged in for:
Forgot your password?

Also is there a way to remove the Login-link in the Mambo login module? When I press it I am sent to the SMF login....
Title: Re: Changing language for the Bridge
Post by: Kindred on March 07, 2005, 03:11:02 PM
The strings are hard coded into modules/mod_smf_login.php

and you have not applied the mambo.tar.gz package in SMF, have you?
Title: Re: Changing language for the Bridge
Post by: tophe on March 07, 2005, 03:13:34 PM
yes I have.. But I did it manually...

I just removed this:

'maintain' => array('Admin.php', 'Maintenance'),

And put in this:

'maintain' => array('Admin.php', 'Maintenance'),
'mambo_login' => array('MOS_SMF.php', 'MOS_Login'),
'mambo_logout' => array('MOS_SMF.php', 'MOS_Logout'),


Did I do it right?
Title: Re: Changing language for the Bridge
Post by: Kindred on March 07, 2005, 03:15:01 PM
yes, that is the correct action.

give me a url to test it?
Title: Re: Changing language for the Bridge
Post by: tophe on March 07, 2005, 03:15:46 PM
It works now.. Thx.. I changed it in the scripts.