Author Topic: Order form summary  (Read 1077 times)

Offline chrisp

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Order form summary
« on: 23/November/2010, 04:34:57 PM »
Hi,
I am using nbill with the French translation pack but in the order summary I am getting a mixture of English and French for example "Followed by mensuel payments of". I cannot find out where the translations for the order form summary are and I am a bit confused that some of the words in the phrase are French "mensuel" for monthly but the rest of the phrase is in English. Can you point me in the right direction to resolve this,
thanks
Chrisp

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,955
    • View Profile
Re: Order form summary
« Reply #1 on: 24/November/2010, 10:49:12 AM »
Hi,

Yes, I'm afraid this is a bit of a problem - when I add new features to nBill, I cannot wait for translators (who are all volunteers) to translate all the new bits before release. So new items remain in English until such time as someone kindly updates the language pack (I cannot afford to pay professional translators in all those languages).

In this case, the text for the different payment frequencies (weekly, monthly, etc.) was translated in an earlier version (as it appears elsewhere in the component), but the text for the order summary page was added later and the text is built programatically depending on the payment frequency used rather than having to store what is basically the same sentence repeatedly for each payment frequency - hence the mixture of English and French in the same sentence.

If you want to change/translate the text yourself, you will find it in the following places (replace en-GB with your language, and the line numbers might be slightly out, but you should be able to find your way):

/administrator/components/com_nbill/language/en-GB/frontend.en-GB.php (lines 122 to 126 ish)
/administrator/components/com_nbill/language/en-GB/xref.en-GB.php (lines 67 to 77 ish)

Offline chrisp

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Order form summary
« Reply #2 on: 02/December/2010, 06:10:10 PM »
Hi,
Understand thanks for the prompt reply
Chrisp