Hi guys, me again
I was just wondering if it's possible to have multi language support on a single installation of Arfooo? I assumed it was possible as there are language files however the only way of changing the language is within the admin panel, and that changes it for all users.
What I would like to do is to allow the users to change languages for them. So if you're English you come in and see the directory in English using the en.php language file, yet if you're French you'd click on the French flag and you'd get the site in French, using fr.php.
Like Arf has done here, but without going to another domain.
Just wondering if it's possible or not!
Thanks again
Multi Langauge
Moderator: effi
14 posts
• Page 1 of 1
Multi Langauge
Last edited by Matt on Thu May 21, 2009 10:32 am, edited 1 time in total.
My Arfoo Directory - http://www.simsdirectory.com/directory/
- Matt
- Posts: 16
- Joined: Tue May 12, 2009 6:37 am
Re: Multi Langauge
Hi Matt,
This is what I wanted to do with my Canadian directory but at the moment it's not possible to switch from one language to another one.
There might be another solution that I haven't tried yet. Make a copy of the directory in a different folder, connect it to the same database and switch the names or the content of the en.php and fr.php files.
This is what I wanted to do with my Canadian directory but at the moment it's not possible to switch from one language to another one.
There might be another solution that I haven't tried yet. Make a copy of the directory in a different folder, connect it to the same database and switch the names or the content of the en.php and fr.php files.
- chadon
- Posts: 59
- Joined: Mon Jan 19, 2009 10:29 pm
- Location: NB Canada
Re: Multi Langauge
My Arfoo Directory - http://www.simsdirectory.com/directory/
- Matt
- Posts: 16
- Joined: Tue May 12, 2009 6:37 am
Re: Multi Langauge
I've tried creating another instance of the directory (http://fr.simsdirectory.com/directory/) and it seems to work ok, apart from the forms. Which obviously means I can't log into the admin pages or user pages to make changes.
Any idea why it may be doing this?
Any idea why it may be doing this?
My Arfoo Directory - http://www.simsdirectory.com/directory/
- Matt
- Posts: 16
- Joined: Tue May 12, 2009 6:37 am
Re: Multi Langauge
Well your idea works Chadon, in another directory using the same database the language changes by putting different content in the 'en.php' file. However it's just the registration and login forms that do not work. I suppose you could redirect them to the default login pages, at least the viewers would get their multi language options?! Just the webmasters who would suffer.
Would be interesting if this could be fixed though! I'll keep looking into it but my technical knowledge isn't great
Would be interesting if this could be fixed though! I'll keep looking into it but my technical knowledge isn't great
My Arfoo Directory - http://www.simsdirectory.com/directory/
- Matt
- Posts: 16
- Joined: Tue May 12, 2009 6:37 am
Re: Multi Langauge
It looks like this problem is more like a bug.
I tried to register an account in my directory without including the www in the url and I have the same problem as you. Nothing happens and chances are big that many visitors don't always enter the www when they enter my directory.
It's probably a security feature to prevent people from registering outside of the site and I looked into the javascript files if I could find something but I didn't.
There is probably a solution if you duplicate the URL field in the database and call the new one from your second directory but I will submit a bug report in the French board and hopefully someone will give me an easier way to fix for your problem.
I tried to register an account in my directory without including the www in the url and I have the same problem as you. Nothing happens and chances are big that many visitors don't always enter the www when they enter my directory.
It's probably a security feature to prevent people from registering outside of the site and I looked into the javascript files if I could find something but I didn't.
There is probably a solution if you duplicate the URL field in the database and call the new one from your second directory but I will submit a bug report in the French board and hopefully someone will give me an easier way to fix for your problem.
- chadon
- Posts: 59
- Joined: Mon Jan 19, 2009 10:29 pm
- Location: NB Canada
Re: Multi Langauge
Thanks Chadon, I'd appreciate that
My Arfoo Directory - http://www.simsdirectory.com/directory/
- Matt
- Posts: 16
- Joined: Tue May 12, 2009 6:37 am
Re: Multi Language
Hello Matt and Chadon
I am VERY interrested in your project of multilanguage, I wanted to do it for my project, and was very sad to wait the version 2
I understand you have chosen the english directory to be the "master".
So the french webmaster MUST register in the english directory in english
i suggested to chadon that you can impose that by a htaccess redirect order for the webmaster_login file.
what about the descriptions ? do you imagine to add a field in the data base ?
(excuse the english i am french)
I am VERY interrested in your project of multilanguage, I wanted to do it for my project, and was very sad to wait the version 2
I understand you have chosen the english directory to be the "master".
So the french webmaster MUST register in the english directory in english
i suggested to chadon that you can impose that by a htaccess redirect order for the webmaster_login file.
what about the descriptions ? do you imagine to add a field in the data base ?
(excuse the english i am french)
et
- effi
- Posts: 195
- Joined: Fri May 22, 2009 10:04 am
Re: Multi Langauge
Hello Effi, welcome to the English board
Your english is very good, I understood you perfectly.
Matt, Effi is right, the description is saved in the database and so are the ads and the email templates, this might be complicated to resolve.
And for search engines, you will have duplicate content with only minor differences. This can be bad if you plan to get traffic from them.
I think that Saidbakr's idea would be the best option to have a multi language directory.
Is there any coder around here?
Your english is very good, I understood you perfectly.
Matt, Effi is right, the description is saved in the database and so are the ads and the email templates, this might be complicated to resolve.
And for search engines, you will have duplicate content with only minor differences. This can be bad if you plan to get traffic from them.
I think that Saidbakr's idea would be the best option to have a multi language directory.
Is there any coder around here?
- chadon
- Posts: 59
- Joined: Mon Jan 19, 2009 10:29 pm
- Location: NB Canada
Re: Multi Langauge
There could be another solution that I have not tried it yet. Make a copy of the guide in another folder, connect to the same database and change the names or file contents and en.php en.php.
|
- disolmodo78
- Posts: 9
- Joined: Mon Nov 29, 2010 6:05 pm
14 posts
• Page 1 of 1
Return to Installation, support and bug reports
-
- Related topics
- Replies
- Views
- Last post
-
- Multi-viewed Links
by hoha1953 » Thu Sep 09, 2010 1:54 pm - 0 Replies
- 1526 Views
- Last post by hoha1953
Thu Sep 09, 2010 1:54 pm
- Multi-viewed Links
Who is online
Users browsing this forum: No registered users and 0 guests