Post by icreator » Sun Dec 28, 2014 2:24 pm

in \upload\admin\language\*\* and \upload\language\*\*

for all types of extentions make common translates with:

Code: Select all

<?php
$_['text_payment']					= 'Payment';
$_['text_success']					= 'Success: You have modified %s payment module!';
$_['text_edit']                     = 'Edit';

// Entry
$_['entry_total']					= 'Total';
$_['entry_order_status']			= 'Order Status';
$_['entry_geo_zone']				= 'Geo Zone';
$_['entry_status']					= 'Status';
$_['entry_sort_order']				= 'Sort Order';

// Help

// Error
$_['error_permission']				= 'Warning: You do not have permission to modify payment Cash On Delivery!';
$_['error_merchant']     = 'set ID ';
$_['error_signature']    = '....';
in controller use:

Code: Select all

		// load standard localize
		$this->language->load('payment/common');
		$this->language->load('payment/my_extension');

New member

Posts

Joined
Wed Dec 24, 2014 5:51 pm

Who is online

Users browsing this forum: No registered users and 5 guests