Post by SirThomas » Fri Jul 03, 2015 12:16 am

Hi,

How can I change the marked in to SWE?

Look at the pic

Thanks!!

Thomas

Attachments

Image5.jpg

Image5.jpg (204.62 KiB) Viewed 622 times


New member

Posts

Joined
Fri Jul 03, 2015 12:10 am

Post by IP_CAM » Fri Jul 03, 2015 4:35 am

You have to ADD
$_['button_cart'] = 'Add to Cart'; - in SWEDISH LANGUAGE !!
to your
language/swedish/swedish.php (or however this 'swedish' will be written!)
file, of it does not already exist.

Code: Select all

D:\1\2.0.3.1\opencart-2.0.3.1\upload\catalog\language\english\english.php
// Buttons
$_['button_address_add']    = 'Add Address';
$_['button_back']           = 'Back';
$_['button_continue']       = 'Continue';
$_['button_cart']           = 'Add to Cart';
$_['button_cancel']         = 'Cancel';
$_['button_compare']        = 'Compare this Product';
$_['button_wishlist']       = 'Add to Wish List';
$_['button_checkout']       = 'Checkout';
$_['button_confirm']        = 'Confirm Order';
$_['button_coupon']         = 'Apply Coupon';
$_['button_delete']         = 'Delete';
Make sure, you use no MOD, having this VALUE declared in the Mod itself, one never knows...

Seek/search, in your language Direcrtory, where, in wich file, the OTHER Phrase, you want to change, is located.

Possibly, you have to create (copy/paste/rewrite/save!) a file, with the same name/title, as the englich file
is named, and translate the full englisch Language TEXT Content, (but not the $variables themselfs!!), into
your swedish language. Then, place it in the similarly NAMED Sub-Directory, as the english file exists, if, by
any chance, such a SubDirectory, in your swedisch language Directory, would not exist. Reason: NOT all
Code Contributors write multiple language files...

Good Luck
Ernie
hitline.info/shop/

PS: Make SURE, to use a decent TEXT EDITOR, like NOTEPAD++, only, for such WORK!
and Set the PageCode to UTF-8 without BOM, before saving such files.

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by SirThomas » Sat Jul 04, 2015 1:14 am

Hi,

Thanks but I still can't get it...

New member

Posts

Joined
Fri Jul 03, 2015 12:10 am

Post by IP_CAM » Sat Jul 04, 2015 5:16 am

Your Newsletter Module is not a Default Mod, I cannot find such a 'phrase'
..sign up for Our Newsletter.. , exactly written this way,
anywhere in the OC v2.0.3.x Package. Therefore, it is Part of a Modification,
using it's own Language Translation, either placed in a VqMod / OcMod, or then,
in 1 or more different file(s), placed in a language section, and then uploaded, as part of the
Newsletter Mod-Package. So, you need to check your Mod, used for this Module, for it's Content.

You may get some Ideas about this, by reading here:

http://forum.opencart.com/viewtopic.php ... 68#p568769

Good Luck
Ernie
hitline.info/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 7 guests