Translation problem with the Donation Form

  • Diego Liatis
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago - 9 years 4 months ago #53390 by Diego Liatis
Translation problem with the Donation Form was created by Diego Liatis
Hey there,
I've been having some hard time with the translation of the donation form.
Once the lines in the language file filled (translated), only header lines apply.

Please, could you quickly help me find a solution?
This form must be translated and 100% FUNCTIONAL today.

A picture is worth a thousand words!

Last edit: 9 years 4 months ago by Diego Liatis.

Please Log in or Create an account to join the conversation.

  • Diego Liatis
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago - 9 years 4 months ago #53391 by Diego Liatis
Replied by Diego Liatis on topic Translation problem with the Donation Form
Apparently there is something about the custom fields!

Can anyone help me with this?
Last edit: 9 years 4 months ago by Diego Liatis.

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #53393 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Translation problem with the Donation Form
Hi Diego

Just go to Joom Donation -> Custom Fields, edit the custom fields and change title directly from there. After that, it will work as expected

Regards,

Tuan
The following user(s) said Thank You: Diego Liatis

Please Log in or Create an account to join the conversation.

  • Diego Liatis
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago #53396 by Diego Liatis
Replied by Diego Liatis on topic Translation problem with the Donation Form
Thanks for the quick reply Tuan,

I was expecting something like that...
But wat if ai need to Have it in both languages?
Im i gonna have to double those custom fields in both languages or build a whole new campaign whit some other custom fields there?

In this case fr-FR and en-GB.

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #53397 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Translation problem with the Donation Form
Hi

You can simply use this solution :

1. Change the title of the custom field to JD_FIRST_NAME for example (with the first name field, you can do the same for other fields)

2. Add that language string to both the two language files:

in language/en-GB/en-GB.com_jdonation.ini

JD_FIRST_NAME=""First Name"

in language/fr-FR/fr-FR.com_jdonation.ini

JD_FIRST_NAME="First name in French"

Doing that for all the fields and it should be OK !

Tuan
The following user(s) said Thank You: Diego Liatis

Please Log in or Create an account to join the conversation.

  • Diego Liatis
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago #53398 by Diego Liatis
Replied by Diego Liatis on topic Translation problem with the Donation Form
So in other words, the value in default Custom Field section:
first_name="First Name"
Needs to be reedited as:
JD_FIRST_NAME="First Name"

Then make it match in the Languages files.
Im i good there?

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #53399 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Translation problem with the Donation Form
Hi

No. You need to change title of the custom field , the the value. Right now, if you edit the First name custom field, you will see that the title of that field is set to "First Name", You can change it to JD_FIRST_NAME and add that language string to language file as I mentioned and It will work well

Tuan
The following user(s) said Thank You: Diego Liatis

Please Log in or Create an account to join the conversation.

  • Diego Liatis
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago - 9 years 4 months ago #53400 by Diego Liatis
Replied by Diego Liatis on topic Translation problem with the Donation Form
Got It, Working as it should be now!!

Thanks Tuan.

Last edit: 9 years 4 months ago by Diego Liatis.

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #53401 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Translation problem with the Donation Form
Yes. That's good. I have to go to bed now (11:25PM), so if you have other questions, I will be available to answer you on tomorrow !

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt