Hey,
I'm desperate looking for an option to choose multiple languages, at least for the front end of my shop. Today I discoverd that the currency selector works is some sort of same way. Is there anybody who is willing to help and look into the code with me? Maybe somebody already made such addon. (in that case i'm willing to pay.)
Any help greatly appreciated
Languages
-
- Posts: 744
- Joined: Thu Jun 18, 2009 8:59 am
Re: Languages
This line:
So you'd want to have a separate lang file set up, and get this to switch somehow - I guess create a language selection box that sets a cookie, so that it can do a logic check based on that? The backend is set up in a similar way
Outwardly this is something that I'd likely be able to do, but nothing like as quickly as someone else on here I'd guess!!
in init.php seems to be the start point, as it then triggers:$GLOBALS['ISC_CLASS_TEMPLATE']->FrontEnd();
in lib/templates/template.phppublic function ParseFrontendLangFile()
{
$frontLangFile = dirname(__FILE__) . "/../../language/".GetConfig('Language')."/front_language.ini";
$this->ParseLangFile($frontLangFile);
}
So you'd want to have a separate lang file set up, and get this to switch somehow - I guess create a language selection box that sets a cookie, so that it can do a logic check based on that? The backend is set up in a similar way
Outwardly this is something that I'd likely be able to do, but nothing like as quickly as someone else on here I'd guess!!
Re: Languages
Tony,
Thanks for your reply. I've been trying to get this to work but so far only internal errors
I have set up a dropdown box with the languages english and german but I can't see how the code should swith between the two front_language.ini files. Tried it with some "if" this then "that" code but like I said no luck so far.
Any bit of help or another push in the right direction is more then welcome
Cheers
Thanks for your reply. I've been trying to get this to work but so far only internal errors

I have set up a dropdown box with the languages english and german but I can't see how the code should swith between the two front_language.ini files. Tried it with some "if" this then "that" code but like I said no luck so far.
Any bit of help or another push in the right direction is more then welcome

Cheers
ISC v6
Re: Languages
I've managed to change the frontend language. Did this by creating a form with several languages and form action post with target admin/index.php?ToDo=saveUpdatedSettings. Well this takes me from frontend to backend which off courde isn't an option for a live site...
... hehe. Nevertheless it worked though, finally after hours of trying i saw it CAN be done
. For the different languages I used the two letter codes (like english is 'EN' etc) so this is something that can be used.
These two letter codes are also found in the header of the frontend mainpage so I'm trying to found a way to read the code from the header and change it somehow to a different landcode.
Maybe someone can help with this? Painstik can you do some of your magic?


These two letter codes are also found in the header of the frontend mainpage so I'm trying to found a way to read the code from the header and change it somehow to a different landcode.
Maybe someone can help with this? Painstik can you do some of your magic?
ISC v6
Re: Languages
Bringing it back from the dead.
Can someone help me what to do to have a language setting option?
I only need this in the front-end.
Details step???
Please.
Can someone help me what to do to have a language setting option?
I only need this in the front-end.
Details step???
Please.
-
- Site Admin
- Posts: 1854
- Joined: Wed Jun 17, 2009 6:30 pm
- Location: South Yorkshire UK
- Contact:
Re: Languages
Short answer... There currently isn't one..
BigCommerce version 7 allegedly has this functionality but every indication is that ISC will not see this version and Mitch, et al are doing their usual silence routine confirming nor denying that they can't communicate with paying customers, but proving it anyway.
It may be possible to sort out but as yet nobody has hacked anything because Interspire haven't said anything about what they're doing either.
BigCommerce version 7 allegedly has this functionality but every indication is that ISC will not see this version and Mitch, et al are doing their usual silence routine confirming nor denying that they can't communicate with paying customers, but proving it anyway.
It may be possible to sort out but as yet nobody has hacked anything because Interspire haven't said anything about what they're doing either.
Re: Languages
Take a look at this:
http://chirohorit.wordpress.com/2010/12 ... languages/
Anyone knows how to get the front-end option chooser implemented to the cart???
1. This will make the site appear in French only. For a front-end multilingual option chooser drop-down (or a series of flags to select a desired language), you would require a Panel (creating one requires PHP and Interspire convention skills) to be created and placed in a placeholder you want that to appear that will let you choose a language from the options.
2. You must use an editor that supports Unicode, if the language you want have characters beyond the regular layout of English. I use this: Notepad++.
http://chirohorit.wordpress.com/2010/12 ... languages/
Anyone knows how to get the front-end option chooser implemented to the cart???
1. This will make the site appear in French only. For a front-end multilingual option chooser drop-down (or a series of flags to select a desired language), you would require a Panel (creating one requires PHP and Interspire convention skills) to be created and placed in a placeholder you want that to appear that will let you choose a language from the options.
2. You must use an editor that supports Unicode, if the language you want have characters beyond the regular layout of English. I use this: Notepad++.
Re: Languages
You can download here the Dutch Interspire Shopping Cart Language