: Translate egBusiness to another Language
Search:
Translate egBusiness to another Language

All frontend (user-side) messages are located in a single file and can be easily translated. It is even possible to enable several languages and user will be able to choose interface language while navigating on egBusiness pages.

How To Translate messages?

  • Go to egbusiness/languages/ folder. You will see existing language files. 
  • Copy file en.php to, for example it.php (use your language common abbreviation) 
  • Copy file en.inc.php to, for example it.inc.php (again use common abbreviation instead of it) 
  • Edit file it.inc.php using your favorite text editor. Replace en, English, USA to appropriate values
    example:      
                      $GLOBALS['_lang']['it'] = array(
                      'id' => 'it',  //language code
                      'title' => 'Italian', //language name
                      'country' => 'Italia', //language country / default country
                      'encoding' => 'utf-8', //character set
                      'template_path' => 'italian', //templates path
                      'file' => $lang_file
                      );
  • Edit file it.php using your favorite text editor/php editor, translating line by line to your language. Periodically check that you do not break PHP syntax during translation.
  • Copy "/themes/english/" folder to, for example "/themes/italian/"
  • Edit the html templates using your favorite html editor, translating the text to your language
  • Go to egBusiness Admin Panel -> Configuration -> Language and enable your new language. Everything should work without PHP errors
  • Once translation is complete, please pack your it.php and it.inc.php files and please give us a favour to use it by sending the packed file to support@egnsoftware.com.

Other tutorials in :

 

Popular Tutorials:


Testimonial

Zakaria Fathani from Casablanca , Morocco:
 My experience with script4profit was perfect, i receive a good support and a very good script quality. They are so professional and serious company ! I choose them for their fast support, it's necessary when you want to launch a big business as mine with a real company. We advice everyone who want a good script and run his own buisness to deal with script4profit, they are simply the best. 

Latest News

Accepted Payments

Copyright © 2007 - 2026 EGN Software, All rights reserved

Talk to us?