|
G.deangeli
|
 |
« on: 04/February/2010, 10:17:21 AM » |
|
Hello everybody.
I issued my first bilingual invoice today (English and French) Everythink worked fine : this is, depending on the language site selection on front end, the customer can either view its invoice in French (site default language) or English. PROBLEM : Invoice details are displayed OK in the selected language, EXCEPT for product name which remains in French in both languages (although I did translate (and publish) product details using Joomfish)
Any suggestion to solve that. Regards G ?rard
[attachment deleted by admin]
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #1 on: 04/February/2010, 12:05:41 PM » |
|
I'm afraid I don't think there is much I can do about that - the value is picked up from the invoice record, not the product record. It will display whatever is stored on the invoice record.
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #2 on: 04/February/2010, 04:08:05 PM » |
|
Hi The component is not fully Joomfish compatible then. Therefore, there is no use use of translating product descriptions in Joomfish backend ? Am I right? What about changing nBill backend default language at the time of entering orders : would the system provide product descriptions in the target language : I guess not! Regards G ?rard
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #3 on: 04/February/2010, 05:41:01 PM » |
|
This is not an issue that anybody has brought up before, but I will look into it and see what I can do about it.
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #4 on: 04/February/2010, 06:22:21 PM » |
|
Thanks a lot for your help! G ?rard
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #5 on: 11/February/2010, 04:22:01 PM » |
|
To fix this, please try replacing your /administrator/components/com_nbill/admin.proc/invoices.php file with the attached.
[attachment deleted by admin]
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #6 on: 11/February/2010, 04:22:43 PM » |
|
And to show the translated product name on the invoice list in the front end, you would also need to replace your /components/com_nbill/proc/invoices.php file with the attached.
[attachment deleted by admin]
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #7 on: 11/February/2010, 05:59:55 PM » |
|
Hi I replaced the 2 files, but as the attached picture shows, the product description still remains in French (although translated and published in Joomfish) Anyway thanks for your help on this matter. G ?rard
[attachment deleted by admin]
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #8 on: 11/February/2010, 08:40:08 PM » |
|
If you enter the product name in English, does it translate into French when applicable? (Not sure if Joomfish works both ways).
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #9 on: 12/February/2010, 07:44:15 AM » |
|
Well, my site default language is set to French and all content items, menus, and any other items of Joomfish compatible components switches to English on frontend when selected by the user.
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #10 on: 12/February/2010, 12:41:39 PM » |
|
If you submit a support ticket giving me access to your site I will look into it.
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #11 on: 12/February/2010, 12:56:14 PM » |
|
The translation will only work if the value on the invoice is EXACTLY the same as the name on the product record. In the example you show, you have added "(Pour Tender invitation)" after the product name, so it will not pick up the translation because the value does not match.
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #12 on: 12/February/2010, 01:27:31 PM » |
|
OK "Pour tender invitation" is not part of standard the product description (product form). But it is content picked up from an additional field (very useful feature by the way) located in the order form. A sort of additional reference specific to the job at hand : this field is 'Relating to :' in the English documentation. I guess the French word 'Pour' is added automatically to the Reference info (translation of the English For I suppose) Regards G ?rard
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #13 on: 12/February/2010, 02:32:49 PM » |
|
I see. Try replacing /administrator/components/com_nbill/admin.proc/invoices.php with the attached and see if that helps (it will not translate the word 'for'/'pour' - you might have to just amend the language file to make that a zero length string '' so that it does not show up at all).
[attachment deleted by admin]
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #14 on: 12/February/2010, 03:58:19 PM » |
|
No: Does not show up yet! Everything remains in French in both front end invoice list and invoice preview!
|
|
|
|
|
Logged
|
|
|
|
|