Forums / General Questions / I need complete define's in one file for translation needed

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

Locked

Started by oavs on 29 Jun 2007, 6:07 AM · Views: 882

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
29 Jun 2007, 6:07 AM
#1
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

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

Downunder QLD

29 Jun 2007, 6:35 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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?

29 Jun 2007, 8:14 AM
#3
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

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?

Downunder QLD