Maian Script World on Facebook Maian Script World on Twitter Maian Script World - Latest News Maian Script World on YouTube Maian Script World on LinkedIn


Please Read

You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.

IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.

You are not logged in.

#1 18-09-2011 06:32:22

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

multiple language

Is this script possible to load multiple language packs?

Offline

#2 20-09-2011 23:06:40

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: multiple language

David,

Just wanted to know if you have missed this thread.

Offline

#3 21-09-2011 07:28:04

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,071

Re: multiple language

Yes, only just saw this one. I`ve been in London a few days and haven`t quite caught up yet.

No, it doesn`t support multiple language files.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#4 23-09-2011 20:03:21

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: multiple language

Thanks for the reply. Are they much codes to add/edit? I would love to give it a shot but don't know where to begin.

Offline

#5 24-09-2011 05:31:16

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,071

Re: multiple language

You`ll need to set a cookie first to detect which language is selected. Then where it references the language file in the index file use the cookie if its set and is a valid language. Revert to default language if no cookie set. For the email templates you`ll need to possibly move them to a new folder. One for each language and then adjust how they load via the cookie.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#6 07-03-2012 15:10:50

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: multiple language

David. If you have some time, can you go over a little more details of what I need to do to have multiple language setup? This is one of my to-do projects but have been side track with other things. I am focus on your beta support system and I want you to have minimal bugs(if there is any) before the official launch.

Offline

#7 07-03-2012 19:05:19

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,071

Re: multiple language

duceduc wrote:

David. If you have some time, can you go over a little more details of what I need to do to have multiple language setup? This is one of my to-do projects but have been side track with other things. I am focus on your beta support system and I want you to have minimal bugs(if there is any) before the official launch.

Which is very appreciated. I`ll try and post when I get time.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#8 03-04-2012 12:42:50

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: multiple language

Just a kindly reminder if you have the time.

Offline

#9 29-04-2012 14:57:26

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: multiple language

Hi David. Just wanted to remind you if you have the time for this quick write up of multi-language.

Offline

#10 29-04-2012 19:41:48

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,071

Re: multiple language

duceduc wrote:

Hi David. Just wanted to remind you if you have the time for this quick write up of multi-language.

Sorry I haven`t had time. I think it best I forget it as I probably won`t have time. Its not so difficult really if you think about it.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#11 02-05-2012 10:09:49

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,071

Re: multiple language

Any joy? Put your language files into folders. One for each language. Then set language option links. Maybe:

index.php?lang=english
index.php?lang=french

Set the cookie for the lang value and make sure the language is valid. Then adjust the paths that load each language file to use the cookie language value. If none set, default to english.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

Board footer

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World.© 2003-2013 David Ian Bennett. All Rights Reserved | Forum: FluxBB

Privacy Policy | Refund Policy