View Full Version : How can I change 'check' to 'cheque'?
I have made www.onlineweddingshoes.co.uk with soholaunch. Being a UK site trying to attract UK customers I would like to remove the American spelling of the word 'check' to the UK version 'Cheque'
Is this possible? If so, how? In very very very simple terms please as I am not too technical with this stuff!
Thank you
draknet
05-17-2007, 10:29 PM
Under /sohoadmin/program/modules/mods_full/shopping_cart, in the file called payment_options.php there is a section that looks like this:
# Check or Money Order
$THIS_DISPLAY .= " <tr>\n";
$THIS_DISPLAY .= " <td><input type=checkbox name=\"use_check\" value=\"yes\"".$chkchk."></td>\n";
//$THIS_DISPLAY .= " <td><img src=\"pay-check.gif\"></td>\n";
$THIS_DISPLAY .= " <td valign=\"top\">".lang("Check / Money Order")."</td>\n";
$THIS_DISPLAY .= " </tr>\n";
Just change ("Check / Money Order") to ("Cheque / Money Order") and I believe that should do it.
lwyau
05-18-2007, 07:54 AM
That will make it blank, I'm afraid.
Go to sohoadmin/language/english.php and change this line (around #609) from
$lang["Check / Money Order"] = "Check / Money Order";
to
$lang["Check / Money Order"] = "Cheque / Money Order";
Blues
07-17-2007, 04:36 AM
HI :) following up on this question - I need to do the same - is it just me or did there used to be an shopping cart menu selection for this ie choose check or cheque.
Have had a look as Lwyau suggested and have found that I have two such php files. One is English and the other is English UK. English uk has this already sorted to cheque but the other has a permission of 644 and will not let me change this to edit.
Any ideas - really want to understand the process.
Many thanks as always.
Blues
lwyau
07-17-2007, 09:16 AM
Go to sohoadmin > webmaster > global settings and click on "select language" to see if English UK shows up in the dropdown list.
If it's not there, edit the following line in this file: sohoadmin/config/isp.conf.php
lang_set=english.php
to
lang_set=english-uk.php
and see if it switches over.
Please report back what you find.
Blues
07-17-2007, 09:33 AM
Hello and thanks :)
Went to > webmaster > Global Settings and choices were English, French and Norwegian. No English UK so continued to alter the file as suggested. Changed english to english-uk in the php file. Updated no problem.
Unfortunatley this did not make a difference :( ah well.
Any other routes that may be taken to resolve?
Many thanks lwyau
Blues
07-17-2007, 10:58 AM
By the way Lwyau, I am nearly sure that this was resolved in a previous version of Soho - where you could choose Check/Cheque in the payment options page of the shopping cart but now seems to have been lost in upgrading. Anyway of getting this function back as I assume you have lots of customers from Europe using the product.
Can you advise.
Many thanks,
lwyau
07-17-2007, 11:03 AM
Alright, it looks like soho has changed the language spec to the field "df_lang" in site_specs table. Go to sohoadmin > database tables > system tables. Select site_specs and edit the field.
Once you changed this field to "english_uk.php", go back to webmaster > global settings > interface language. You should now find English-uk being one of the options. Select it and save.
Blues
07-17-2007, 11:12 AM
Have done that and when I go back into global settings the language select is blank and when I use the drop down menu the same options as before are available.
Back to the drawing board :)
Blues
07-17-2007, 12:21 PM
Question in regards to this issue - how come the english.php file is 644 and cannot be changed - were the english-uk.php file is editable?
Also did this english-uk.php file version come from the earlier shopping cart option were you could choose either check/cheque.
:)
lwyau
07-17-2007, 12:48 PM
The permissions for all language files are the same in my case, but the server is running phpsuexec, which is probably not the case for yours.
The last procedure works for me and I am running v4.9.2 r13.5.
I don't know when english_uk.php (it's an underscore as opposed to a hyphen. You may want to double-ckeck on that...) was put in place, but it has been there for sometime now.
Blues
07-17-2007, 01:00 PM
Thanks lwyau - just updated to the same version of Soho as yourself, repeated the procedure and hey presto it worked !!!!
Oh Happy Days :) Whooping and hollering !!!
Thank you for your time and patience on this. Really appreciate it.
My very best regards,
"Slan agus beannacht" as they say in Ireland
Have a great day !!!
Blues
07-17-2007, 01:03 PM
FYI
Just noticed that the option to choose this is now back in the shopping cart payment options as a wee drop down menu.
Blues
07-17-2007, 01:08 PM
Just noticed that when you go through the process of purchasing and you are on the step 4 of the order process - even though the shopping/pgm-checkout.php button is correct, the actual wording beside it still refers to the American spelling of Check - any ideas of where this could be altered....thanks
Blues
07-17-2007, 01:30 PM
Aha just had a hunt around and me thinks it is in pgm-checkout.php which is a 644 file? How can I get around this - obviously it wont let me change the permission status.
:) fun and games
lwyau
07-17-2007, 03:10 PM
First see if you can upload a file to that folder (sohoadmin/shopping), then see if you can rename the file (and rename it back if successful, of course). If you can't, ask your host to make the folder and file permission to 777.
If, OTOH, both are affirmative, you can then download a copy to your computer, work on it, rename the original one to some other name, then upload the modified version.
If you mess up completely, log in and out of sohoadmin and all files in that folder will be replaced with original copies from sohoadmin/client_files/shopping_cart folder.
When you are finally done, upload it to sohoadmin/client_files/shopping_cart folder to make it permanent.
Blues
07-17-2007, 03:15 PM
Thanks Lwyau :) will give it a go and post the results back on the thread in case anyone else needs to do the same.
Though it will not be until tomorrow, I have been at this since this morning and it is now late evening in Dublin so am gonna call it an evening. Eyes are blurring :)
Have a good evening yourself.
Thanks for all the help. Thanks for the lessons.
Blues
07-19-2007, 11:16 AM
Well I got it sorted in the end.
Needed to get the host to change the permission on their side for the folder...as they changed it at shopping >pgm-checkout.php which is in the public html....they also did the hard work and changed it for me wherever it occured - what nice guys :)
Think I will plug them :) hope that is ok
www.letshost.ie
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by
vBSEO 3.3.1