Frequently Asked Questions

How to create new language file for Facebook Integration Module?

For version >= 2.x:
1.Edit components\com_opencart\admin\language\new_language\new_language.php
Put following variables according to your new language at the bottom of the file

// for facebook integration
$_['tab_facebook']             = 'Facebook';
$_['entry_fb_use']             = 'Use facebook';
$_['entry_fb_button_show']     = 'Show fb buttons in default template';
$_['entry_fb_appid']           = 'App ID/API Key';
$_['entry_fb_secret']          = 'App Secret';
$_['entry_fb_canvas_page']     = 'Canvas Page';
$_['entry_fb_canvas_type']     = 'Canvas Type';
$_['entry_fb_site_url']        = 'Site URL';
$_['entry_fb_canvas_url']      = 'Canvas URL/Page Tab URL';
$_['entry_fb_logo']            = 'Facebook store logo';
$_['entry_fb_addtab']          = 'Add Page Tab';
$_['entry_fb_dont_sell_products']            ='Do not sell my products on facebook';
$_['entry_fb_show_left_right_column']        ='Show left/right column in facebook';
$_['entry_fb_show_category_menu']            ='Show top category menu in facebook';
$_['entry_fb_select_text_color']             ='Select text color in facebook';
$_['entry_fb_select_link_color']             ='Select link color in facebook';
$_['entry_fb_select_button_box_menu_color']  ='Select button,menu color';
$_['entry_fb_select_button_menu_hover_color']='Select button,menu color';
$_['entry_fb_select_button_menu_text_color'] ='Select button,menu text color';
$_['entry_fb_automatic_registration']        ='Automatic registration';
$_['entry_fb_show_comments']                 ='Show facebook comment box';
$_['help_fb_use']             = 'To use facebook you need to enable it and provide app id,secret,canvas page below.';
$_['help_fb_button_show']     = 'To show facebook buttons in your default template,enable it.';
$_['help_fb_appid']           = 'Put your facebook application ID here.You will get it in <a href="https://developers.facebook.com/apps"> <a href="https://developers.facebook.com/apps"> https://developers.facebook.com/apps </a> </a> ';
$_['help_fb_secret']          = 'Put your facebook application secret here.You will get it in <a href="https://developers.facebook.com/apps"> <a href="https://developers.facebook.com/apps"> https://developers.facebook.com/apps </a> </a> ';
$_['help_fb_canvas_page']     = 'Put your facebook application canvas page here.Make sure it has a slash(\'/\') at the end(eg. <a href="http://apps.facebook.com/****/).You"> <a href="https://developers.facebook.com/apps"> https://developers.facebook.com/apps </a> </a> will get it in <a href="https://developers.facebook.com/apps';"> <a href="https://developers.facebook.com/apps"> https://developers.facebook.com/apps </a> </a>
$_['help_fb_canvas_type']     = 'Canvas Type';
$_['help_fb_site_url']        = 'Site URL';
$_['help_fb_canvas_url']      = 'This is an example of Canvas URL(or Page Tab URL) for your facebook application settings page in <a href="https://developers.facebook.com/apps"> <a href="https://developers.facebook.com/apps"> https://developers.facebook.com/apps </a> </a> (Edit Settings).It will be the SSL url of your store. It may vary. Some examples: <a href="https://www.your-joomla-site.com/shop/,"> <a href="https://developers.facebook.com/apps"> https://developers.facebook.com/apps </a> </a> <a href="https://www.your-wordpress-site.com/store/,"> <a href="https://www.your-wordpress-site.com/store/,"> https://developers.facebook.com/apps </a> </a> <a href="https://www.your-opencart-site.com/."> <a href="https://developers.facebook.com/apps"> https://developers.facebook.com/apps </a> </a> Put this URL in facebook application settings.';
$_['help_fb_logo']            = 'Facebook store logo';
$_['help_fb_addtab']          = 'Add Page Tab';
$_['help_fb_dont_sell_products']            ='Do not sell my products on facebook';
$_['help_fb_show_left_right_column']        ='Show left/right column in facebook';
$_['help_fb_show_category_menu']            ='Show top category menu in facebook';
$_['help_fb_select_text_color']             ='Select text color in facebook, default color:000000';
$_['help_fb_select_link_color']             ='Select link color in facebook, default color:13398B';
$_['help_fb_select_button_box_menu_color']  ='Select button,menu,box header color, default color:13398B';
$_['help_fb_select_button_menu_hover_color']='Select button,menu etc hover color, default color:3B5998';
$_['help_fb_select_button_menu_text_color'] ='Select button,menu etc text color, default color:FFFFFF';
$_['help_fb_automatic_registration']        ='If you set it to Yes,then facebook users can checkout order without any registration,registration will be done automatically with his facebook information and with a temporary password';
$_['help_fb_show_comments']                 ='Show facebook comment box in product page';
2.Edit components\com_opencart\catalog\language\new_language\new_language.php
Put following variables according to your new language at the bottom of the file
//for facebook integration
$_['button_share']          = 'Post to Your Wall';
$_['text_invite'] = "Invite";
$_['text_product_published']='Product is published successfully in your wall';
$_['text_friends_invited']='You have successfully invited your friends';
$_['text_product_not_published']='Product is not published in your wall';
$_['text_friends_not_invited']='You have cancelled friends invitation';
$_['text_friends_req_message']='Come on checkout our shop ';
$_['text_connection_success_message']='Your facebook account is connected with our site';
$_['text_welcome_facebook']  = 'Welcome %s ';
$_['text_or_facebook'] ='or';
$_['text_login_with_facebook']='Login with facebook';
$_['text_create_account']='Create an account';
$_['text_connect_account_with_facebook']='Connect your account';
$_['text_connect_facebook_with_account']='Connect facebook';
$_['text_logged_facebook']   = 'You are logged in as <a onclick=\'window.location.href="%s"\'>%s</a> <b>(</b> <a onclick=\'userLogout();return false;\'>Logout</a> <b>)</b>';
$_['text_login_and_connect_with_facebook']='Login & connect with facebook';
$_['text_register_and_connect_with_facebook']='Register & connect with facebook';
3.Done

For version < 2.x:
1.Edit components\com_opencart\admin\language\new_language\new_language.php
Put following variables according to your new language at the bottom of the file
// for facebook integration
$_['entry_fb_use']             = 'Use facebook:<br /><span class="help">To use facebook you need to enable it and provide app id,secret,canvas page below.</span>';
$_['entry_fb_button_show']     = 'Show fb buttons in default template:<br /><span class="help">To show facebook buttons in your default template,enable it.</span>';
$_['tab_facebook']             = 'Facebook';
$_['entry_fb_appid']           = 'App ID/API Key:<br /><span class="help">Put your facebook application ID here.You will get it in https://developers.facebook.com/apps </span>';
$_['entry_fb_secret']          = 'App Secret:<br /><span class="help">Put your facebook application secret here.You will get it in https://developers.facebook.com/apps </span>';
$_['entry_fb_canvas_page']     = 'Canvas Page:<br /><span class="help">Put your facebook application canvas page here.Make sure it has a slash(\'/\') at the end(eg. http://apps.facebook.com/****/).You will get it in https://developers.facebook.com/apps</span>';
$_['entry_fb_canvas_type']     = 'Canvas Type:';
$_['entry_fb_site_url']        = 'Site URL:';
$_['entry_fb_canvas_url']      = 'Canvas URL/Page Tab URL:<br /><span class="help">Copy this canvas url/page tab url from here to your application settings page in https://developers.facebook.com/apps (Edit Settings).It is the url of your store.It may vary.Some examples:http://www.your-joomla-site.com/shop/ ,http://www.your-joomla-site.com/index.php/store/,http://www.your-opencart-site.com/</span>';
$_['entry_fb_logo']            = 'Facebook store logo';
$_['entry_fb_addtab']          = 'Add Page Tab';
$_['entry_fb_dont_sell_products']            ='Do not sell my products on facebook:';
$_['entry_fb_show_left_right_column']        ='Show left/right column in facebook:';
$_['entry_fb_show_category_menu']            ='Show top category menu in facebook:';
$_['entry_fb_select_text_color']             ='Select text color in facebook:<br /><span class="help">default color:3B5998</span>';
$_['entry_fb_select_button_box_menu_color']  ='Select button,menu,box header color:<br /><span class="help">default color:13398B</span>';
$_['entry_fb_select_button_menu_hover_color']='Select button,menu etc hover color:<br /><span class="help">default color:3B5998</span>';
$_['entry_fb_automatic_registration']        ='Automatic registration:<span class="help">If you set it to Yes,then facebook users can checkout order without any registration,registration will be done automatically with his facebook information and with a temporary password</span>';
$_['entry_fb_show_comments']                 ='Show facebook comment box:<span class="help">Show facebook comment box in product page</span>';
2.Edit components\com_opencart\catalog\language\new_language\new_language.php
Put following variables according to your new language at the bottom of the file
$_['button_share']          = 'Post to Your Wall';
$_['text_invite'] = "Invite";
$_['text_product_published']='Product is published successfully in your wall';
$_['text_friends_invited']='You have successfully invited your friends';
$_['text_product_not_published']='Product is not published in your wall';
$_['text_friends_not_invited']='You have cancelled friends invitation';
$_['text_friends_req_message']='Come on checkout our shop ';
$_['text_connection_success_message']='Your facebook account is connected with our site';
$_['text_welcome_facebook']  = 'Welcome %s ';
$_['text_or_facebook'] ='or';
$_['text_login_with_facebook']='Login with facebook';
$_['text_create_account']='create an account';
$_['text_connect_account_with_facebook']='Connect your account';
$_['text_connect_facebook_with_account']='Connect facebook';
$_['text_logged_facebook']   = 'You are logged in as <a onclick=\'window.location.href="%s"\'>%s</a> <b>(</b> <a onclick=\'userLogout();return false;\'>Logout</a> <b>)</b>';
$_['text_login_and_connect_with_facebook']='Login & connect with facebook';
$_['text_register_and_connect_with_facebook']='Register & connect with facebook';

3.Done

Please Wait!

Please wait... it will take a second!

Powered By JooCart
softPHP © 2010-2022