PDA

View Full Version : change tax text in invoices


easyhosting
04-25-2009, 05:19 AM
I dont change any sort of tax, but i charge a handling fee, but on the invoices etc this shows as Tax as the headed text on the invoices etc state the word tax.

I am wondering can i change this working and if so which file and what do i change.

Mike
04-25-2009, 06:54 AM
You'd want to search all the language files for the word tax and add a translated line underneath with your own wording.

language/english.txt
modules/{modulename}/language/english.txt

easyhosting
04-25-2009, 07:31 AM
You'd want to search all the language files for the word tax and add a translated line underneath with your own wording.

language/english.txt
modules/{modulename}/language/english.txt



did this Mike, but all i got was



Warning: main(modules/admin/models/UserCustomFields.php) [function.main]: failed to open stream: No such file or directory in /home/easyasab/public_html/clients/classes/user.php on line 5

Fatal error: main() [function.require]: Failed opening required 'modules/admin/models/UserCustomFields.php' (include_path='/home/easyasab/public_html/clients/newedge/..') in /home/easyasab/public_html/clients/classes/user.php on line 5

Mike
04-25-2009, 08:20 AM
That doesn't make a whole lot of sense if you only changed the language files. Does the file modules/admin/models/UserCustomFields.php exist on your install?

easyhosting
04-25-2009, 11:06 AM
I changed all the english.txt files in the CE application, but my site invocies etc still show the word TAX

Mike
04-25-2009, 01:33 PM
Did you change the line of text or add a line below with the translated line. The translation engine looks for the original line and then expects the translated version on the next line. A blank line separates each language entry.

...

Original line with tax.
New line with handling fee.

...

Note that if the word Tax is in the invoice entry description or detail that is stored in the database and will not be translated. The translation on those are done when the invoice is generated and not on the fly.

easyhosting
04-25-2009, 02:41 PM
Did you change the line of text or add a line below with the translated line. The translation engine looks for the original line and then expects the translated version on the next line. A blank line separates each language entry.

...

Original line with tax.
New line with handling fee.

...

Note that if the word Tax is in the invoice entry description or detail that is stored in the database and will not be translated. The translation on those are done when the invoice is generated and not on the fly.

I changed the text (every tax word changed)

what sort of translated line?