A couple of strings do not show up in their translated form on the Payment Page, namely when choosing the button “Invoice Payment”. The strings are: “If you wish to pay by invoice…” (this string does not appear in the .mo file even in English), “Mailing Address” (though it is translated in the invoice payment settings in the gateways’ settings page), then the button “Complete your Registration”.
Furthermore, the string “Please wait, your order is being redirected” does not shows up in translation either. (I cannot see it in the .mo file either).
<?php _e('If you wish to pay by invoice, then please make note of the information above, and click to ', 'event_espresso'); ?>
is on line 74 of gateways/invoice/invoice_vars.php. It may have been changed since the last time the mo file was generated. It is a translatable string, but make sure you copy the exact string from the code into the mo file.
is line 61 of the same file. Make sure you include the colon at the end of the string.
the “Please Wait” language is, I believe, on line 129 of gateways/PaymentGateway.php, if it is the same string you are referencing.
I have meanwhile found an easier solution, which might be useful for others: the Codestyling Localization plugin (http://wordpress.org/plugins/codestyling-localization/), which works in the wp admin area. This plugin allows to modify/translate all the php strings (both translated and untranslated), in all the EE files, including the strings which are not visible in the original .po/.mo files. The plugin modifies the main .mo translation file.
So if one uses in addition one’s own .mo file under uploads/espresso/languages, after translating/modifying the strings one must make sure that the modified .mo file reaches uploads/espresso/languages.
Viewing 2 reply threads
The support post ‘Translation issues in/around Payment Page’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.