Support

Home Forums Event Espresso Premium Localization not working

Localization not working

Posted: December 15, 2017 at 12:31 pm


invisionedge

December 15, 2017 at 12:31 pm

I have two issues:
1) I have followed, step-by-step, the instructions here: https://eventespresso.com/wiki/how-to-translate-event-espresso/#setup-your-language-files to translate strings. However, my translations do not appear on my site. What am I missing?
2) On the Payment Options page of the registration checkout, my Promo code box and and button looks terrible and I can’t seem to get it to look good. Ideally, I’d simply like the box to be roughly the same size as the button, remain beside the button, and have both on the right side of the page. http://test.invisionedge.com/registration-checkout/


Josh

  • Support Staff

December 15, 2017 at 1:17 pm

What am I missing?

It’s hard to say with the information we have so far. May I ask whats the filename of the .mo file that was uploaded?

button looks terrible and I can’t seem to get it to look good. Ideally, I’d simply like the box to be roughly the same size as the button, remain beside the button, and have both on the right side of the page

Try this CSS:

@media only screen and (min-width: 600px) {

#ee-promotion-code-input {
width: auto;
max-width: 200px !important;
}

#ee-spco-payment_options-reg-step-form-payment-options-before-payment-options {
margin-left: auto;
width: 500px;
}
}

#ee-spco-payment_options-reg-step-form-payment-options-before-payment-options .ee-promo-combo-submit {
border-left: #6799cc 3px solid;
}


invisionedge

December 17, 2017 at 6:31 pm

Thanks!

The file is event-espresso-4-en_US.mo located in wp-content/uploads/espresso/languages.

I’ve also added define (‘WPLANG’, ‘en_US’); to my wp-config file.


Tony

  • Support Staff

December 18, 2017 at 2:36 am

The file is event-espresso-4-en_US.mo located in wp-content/uploads/espresso/languages.

If you go to Dashboard -> Settings -> General

Is ‘Site Language’ set to ‘English (United States)’? (That’s what the filename above suggests)

I’ve also added define (‘WPLANG’, ‘en_US’); to my wp-config file.

You can remove that, WordPress now uses the above option so this is no longer needed.


invisionedge

December 18, 2017 at 8:21 am

Yes, it is set to English (United States) in Settings.

I have now removed that line from my config file. I also deactivated all plugins and switched to Twenty-Seventeen theme and that didn’t fix the issue.


Tony

  • Support Staff

December 19, 2017 at 2:57 am

Ok, so you used the PO file to generate your own MO file and then uploaded that to the above, correct?

Which strings are you trying to translate?

The support post ‘Localization not working’ 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.

Event Espresso