Support

Home Forums Translations Add language translation causes bug to "apply payment"

Add language translation causes bug to "apply payment"

Posted: March 10, 2015 at 4:38 pm


Florent Jonery

March 10, 2015 at 4:38 pm

Hello,
With the last version of event epxresso I tried to download last french translation language

When I put the .po and .mo files in the language folder of event espresso I am facing the folowing issue :

On the backend : I can’t apply a payment anymore. When I click on “apply payment” button, no popup appears.
Here is a screenshot
screenshot

If I remove files, the popup works again.

Please, could you tell me how to solve this issue ?

Thanks in advance


Florent Jonery

March 10, 2015 at 4:42 pm

Hi !
To complete my previous post :
Here is the screeshot :
http://hpics.li/a1d3ec1
I downloaded the languages in glotPress :
http://translate.eventespresso.com/projects/event-espresso-4/fr/event-espresso-fr_FR


Dean

March 11, 2015 at 3:37 am

Hi,

I tested 4.6.14 with the Glotpress files and changing the WP language to French and, as suspected, it still allowed the pop up to appear.

It might be that there is something else occurring here.

When you are on the Transaction page, and click the button, can you right click and check the browsers Console to see if any Errors appear?

If there are some errors please copy and paste them here.


Florent Jonery

March 24, 2015 at 3:10 am

Hi Dean,

I thank you for your answer. I checked the developer console and no JS errors appears.
Bug appears on Chrome and Firefox browsers.
For information : I placed the languages files inside this directory:
/wp-content/uploads/espresso/languages
I renamed files as folow :
event_espresso-fr_FR.po
event_espresso-fr_FR.mo


Florent Jonery

March 24, 2015 at 4:39 am

Hi !
To complete my previous message : I tested translation files on other test website with espresso 4.6.16.p and I am facing the same issue.


Florent Jonery

March 24, 2015 at 5:17 am

Hi Dean,

I send you a login test account if you to check something on our test website.

Thanks in advance for your help.


Tony

  • Support Staff

March 24, 2015 at 6:16 am

Hi,

I have seen this previously and it turned out to be broken HTML within one of the translation strings.

Have you altered any of the translations?


Florent Jonery

March 24, 2015 at 7:09 am

Hi,
What do you mean by “altered translation” ? Here is what I done : I submited some new translation on glotPress, download the result on glotPress, rename file as explained on the documentation and upload files into espresso language directory.


Tony

  • Support Staff

March 24, 2015 at 9:57 am

To explain ‘altered translations’ meaning have you changed the translations that are already within GlotPress, but on checking I’m also getting the same issue when using the files downloaded directly from GlotPress.

We are investigating the cuase of this and will update shortly.


Tony

  • Support Staff

March 27, 2015 at 9:08 am

Hi Florent,

We have identified the cause of this.

Turns out this was due to some translations that had been submitted with incorrect HTML code, for example “

This caused an issue with the JavaScript that runs on the transactions page.

The GlotPress translation have been updated with the correct translations, you can download the latest version here:

http://translate.eventespresso.com/projects/event-espresso-4/fr/event-espresso-fr_FR

If you redownload the translation and replace your current files that should fix the popup.

Please let me know if you have any issues.

The support post ‘Add language translation causes bug to "apply payment"’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Status: closed

Updated by  Tony 5 years, 10 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!