Posted: December 17, 2013 at 7:29 am
|
Hello, I think to have identified the bank_payment_vars.php file where this comes from. –> Screenshot of inconsistent translation<– <code> <div class=event_espresso_attention event-messages ui-state-highlight> <?php _e(Attention!, event_espresso); ?> <?php _e(If you wish to pay by an Electronic Funds Transfer via your bank, then please make note of the information above, and click to, event_espresso); ?php _e(Complete your Registration, event_espresso); ?> ?php _e(Complete your Registration,event_espresso); </code> Please assist to understand how to fix this update issue.
|
Hi Thomas, How had you done the translations? The proper way to do the translations is to use the files from our github and copy them to wp-content/uploads/espresso/languages? Or did you do the translation within the file? If you did the translation within the actual php file, they will be overwritten during updates. |
|
|
Hi Jonathan, Anyway, I have put them in both spots, but could not get this single part “If you wish to pay by an Electronic Funds Transfer…” in the course of the EE registration translated. The translated part in the PO file reads: <code>#: ../../../plugins/event-espresso/gateways/bank/bank_payment_vars.php:57 msgid "" "If you wish to pay by an Electronic Funds Transfer via your bank, then " "please make note of the information above, and click to" msgstr "Falls Sie per Bank-Überweisung zahlen wollen, notieren Sie sich hier " "die Kontodetails, und dann "</code> Any advise is highly appreciated. |
|
Forgot to mention: |
|
Hi,
We use the WordPress guidelines http://codex.wordpress.org/Translating_WordPress#Using_Localizations, but it can of course be added to wp-content if you prefer. Regarding the translation, I updated the language files yesterday to be more up to date so you may find swapping to the new ones resolves your issue. |
|
Hi Dean, |
|
That’s strange, I just downloaded and installed the German files, edited the PO file with Poedit and that string translates fine – http://d.pr/i/nrfc When you edited the file did you just use a text editor or did you use Poedit? If just the text editor, try with Poedit as it also updates the MO file. It’s free, available at poedit.net |
|
Hi Dean, |
|
Clicking “OK” on the message above leads to another message in PoEdit: |
|
Githubs downloading methods are a bit weird: To download the PO file – left click the link on the main page and then right click the Raw button in the top right of the page that comes up and save as. To download the MO file – left click the link on the main page, and then left click the View Raw text link in the middle of the page that comes up. If you don’t do this you may end up with a MO and PO file that contains garbage data and the language wont work. |
|
Hello Dean, |
The support post ‘Translation Missing After EE Update’ 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.