Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default I need complete define's in one file for translation needed

    Hi

    Does anyone know if there is a single file which would contain (all the file contents)
    in a single file. Reason I want is for translation purposes.

    So what I am looking for is for example:
    define('NAVBAR_TITLE_1', 'My Account');
    define('NAVBAR_TITLE_2', 'History');
    define('HEADING_TITLE', 'My Order History');
    define('TEXT_ORDER_NUMBER', 'Order Number: ');
    define('TEXT_ORDER_STATUS', 'Order Status: ');

    etc etc .............

    define('TABLE_HEADING_DATE', 'Date');
    define('TABLE_HEADING_ORDER_NUMBER', 'No.');
    define('TABLE_HEADING_SHIPPED_TO', 'Ship To');
    define('TABLE_HEADING_STATUS', 'Status');
    define('TABLE_HEADING_TOTAL', 'Total');
    define('TABLE_HEADING_VIEW', 'View');
    define('MY_ACCOUNT_TITLE', 'My Account');
    etc etc ...............

    define('NOTIFICATIONS_TITLE', 'Product Notifications');
    define('NOTIFICATIONS_DESCRIPTION', 'To remove a product notification, clear that product\'s checkbox and click on Update.');
    define('NOTIFICATIONS_NON_EXISTING', 'There are currently no products marked to be notified of.<br /><br />To add products to your product notification list, click on the notification link available on the detailed product information page.');
    define('TEXT_NO_PURCHASES', 'No Purchases');
    define('SUCCESS_NOTIFICATIONS_UPDATED', 'Your product notifications have been updated.');
    ...... etc

    I need all english defines in the all of the language/english folder as well as the admin/language/english in a single file.

    Once I do that I will import it into excell and create other language column next to english language . Once its translated it then can be used as a dictionary. It can be added or just copy and paste later in to the language files.


    I started manually but its a hell. If someone could help wouyld be great.

    Thanks

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: I need complete define's in one file for translation needed

    The language files are all under the general /languages/ folder (I think), but certainly not all in one file. You can always combine them into one file with markers at the joins, if you really need to for translation purposes, and then separate the translated files back out for addition to your cart. How are you finding it difficult to combine them?

  3. #3
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: I need complete define's in one file for translation needed

    Well I have to open each file manually copy and paste to a master file. There are too many to do this manually. May be thats the only way?

 

 

Similar Threads

  1. locked out! help needed for complete novice
    By rabbitnutrition in forum Installing on a Windows Server
    Replies: 6
    Last Post: 3 Sep 2011, 10:54 AM
  2. Need Help for translation Turkish Language!
    By ispartacicekci in forum Addon Language Packs
    Replies: 1
    Last Post: 19 Feb 2011, 03:01 PM
  3. One option for single file download, one option for multiple file download
    By digidiva-kathy in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 12 Mar 2008, 06:25 AM

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