Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Mar 2012
    Location
    yogyakarta, indonesia
    Posts
    16
    Plugin Contributions
    2

    Default Re: configuration menu detail item in the admin panel

    Quote Originally Posted by torvista View Post
    If I had the time/need, I would expand this

    https://github.com/torvista/zen-cart...tion-constants

    to create a list of those new constants to paste into that file.

    You also could do something clever with the output as texts to get them in/out of Google translate as a first pass attempt, maybe...

    Hi Zen Cart Team,

    I am looking for ways to change the language in the admin panel for, for all configuration items I have managed to change (through the language file),
    it's just that the title and description of each configuration is still unsuccessful. Data title and description of the configuration
    stored in the configuration_group database table.

    For the configuration title I found the constants defined in the language file (english.php) line: 93-119,
    it's just that I didn't find the code that uses that definition in all .php files in the admin folder.

    As for the Constants Description configuration I did not find it.

    Please give instructions on how to change the language in this configuration via the select language dropdown control.

    Fill in the English.php file line: 93-119
    Code:
    // configuration box text
    define('BOX_HEADING_CONFIGURATION', 'Configuration');
    define('BOX_CONFIGURATION_MY_STORE', 'My Store');
    define('BOX_CONFIGURATION_MINIMUM_VALUES', 'Minimum Values');
    define('BOX_CONFIGURATION_MAXIMUM_VALUES', 'Maximum Values');
    define('BOX_CONFIGURATION_IMAGES', 'Images');
    define('BOX_CONFIGURATION_CUSTOMER_DETAILS', 'Customer Details');
    define('BOX_CONFIGURATION_SHIPPING_PACKAGING', 'Shipping/Packaging');
    define('BOX_CONFIGURATION_PRODUCT_LISTING', 'Product Listing');
    define('BOX_CONFIGURATION_STOCK', 'Stock');
    define('BOX_CONFIGURATION_LOGGING', 'Logging');
    define('BOX_CONFIGURATION_EMAIL_OPTIONS', 'E-Mail Options');
    define('BOX_CONFIGURATION_ATTRIBUTE_OPTIONS', 'Attribute Settings');
    define('BOX_CONFIGURATION_GZIP_COMPRESSION', 'GZip Compression');
    define('BOX_CONFIGURATION_SESSIONS', 'Sessions');
    define('BOX_CONFIGURATION_REGULATIONS', 'Regulations');
    define('BOX_CONFIGURATION_GV_COUPONS', 'GV Coupons');
    define('BOX_CONFIGURATION_CREDIT_CARDS', 'Credit Cards');
    define('BOX_CONFIGURATION_PRODUCT_INFO', 'Product Info');
    define('BOX_CONFIGURATION_LAYOUT_SETTINGS', 'Layout Settings');
    define('BOX_CONFIGURATION_WEBSITE_MAINTENANCE', 'Website Maintenance');
    define('BOX_CONFIGURATION_NEW_LISTING', 'New Listing');
    define('BOX_CONFIGURATION_FEATURED_LISTING', 'Featured Listing');
    define('BOX_CONFIGURATION_ALL_LISTING', 'All Listing');
    define('BOX_CONFIGURATION_INDEX_LISTING', 'Index Listing');
    define('BOX_CONFIGURATION_DEFINE_PAGE_STATUS', 'Define Page Status');
    define('BOX_CONFIGURATION_EZPAGES_SETTINGS', 'EZ-Pages Settings');

  2. #12
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: configuration menu detail item in the admin panel

    It would be better if the code directly makes a prefix:
    CFGTITLE_
    and
    CFGDESC_
    like the code below:
    It would be better for your requirements if it could also, optionally,produce the output in that format.

    That's why it's on Github: feel free to make it better.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v155 Add Admin configuration menu item (again)
    By reetp in forum Contribution-Writing Guidelines
    Replies: 13
    Last Post: 7 Mar 2017, 10:45 PM
  2. v154 missing configuration menu options in admin panel, in dutch
    By annedien in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 23 Sep 2015, 08:38 AM
  3. v154 Configuration tab doesnt work in the admin panel
    By Awalji in forum Basic Configuration
    Replies: 1
    Last Post: 23 Jun 2015, 08:15 PM
  4. Replies: 13
    Last Post: 3 Jul 2013, 03:51 PM
  5. Replies: 9
    Last Post: 9 Mar 2009, 08:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR