Posted: October 29, 2012 at 4:44 am
|
I am use the invoice Payment Function … |
|
Hello Peter, The PDF is somewhat difficult to change – we are looking to implement an HTML to PDf feature int he future rather than the PHP to PDF that it is currently. The files that control the PDF are mainly in the event-espresso/gateways/invoice directory. What are you trying to change? |
|
Hello Dean, this was the informationen which I needed: After I found the right file (template.php) it was easy to replace the english expression with the german one. for example best regards 🙂 |
|
Hi Peter, That’s strange that should have been translated via the translation files already. |
|
How does this work? |
|
If your WordPress installation has been changed to support a language other than English, then Event Espresso will change to the appropriate language if supported. German is quite well supported https://eventespresso.com/features/languages/ Here is the WordPress information on changing the language, it’s not the best instructions, but scroll down to the Using Localisations bit http://codex.wordpress.org/Translating_WordPress |
|
Hi Dean, I can’t stand your instructions, so I search for another one and found this tutorial: we use the WordPress-multisite-installation so I am interested on this chapter: “2. Define the language of your site in wp-config.php (Site Settings in Multisite)” this configuration is done now: and set wplang-parameter: de_DE but it doesn’ work my question is: |
|
Hi Peter, It should just be a case of setting the language in WordPress. Have you copied over the correct language files to your WordPress installation (wp-includes/languages directory)? |
|
Hi Dean, you can copied the language-Files in /wp-content OR /wp-includes I copied to wp-content/languages/ … this directory contains the following files: for all this files exists addionally a *.mo file What is wrong? |
|
Hi Peter, The event espresso language files dont need to be copied over they work from the plugin. I havent tested thi out on multisite, so perhaps that is the issue, but in my local installation this is what i did:
Event Espresso instantly kicked in with the French translations. If you WordPress installation is coming up in German, and Event Espresso isn’t, then I have to think either the process hasn’t been followed correctly or we are missing something regarding multisite. WordPress says re multisite (http://codex.wordpress.org/Installing_WordPress_in_Your_Language)
|
|
Hi Dean, This is what i did:
Result: after that I delete “wp-includes/languages” and I copied the called language-Files to wp-content/languages Result: After that I searched for a PlugIn which install the language files automatically. In this way I can exclude installation failures which happens by manual installation …. Result: the conclusion is:the wordpress language-configuraion is ok, but the espresso-language-function doesn’t work … |
|
Hi Peter, Though we don’t specifically support Multisite, I decided to install a local multisite installation. Using your instructions above I installed both French, then German languages. The Multisite installation doesnt change languages but Event Espresso does – http://d.pr/i/hwFs I used the language files for WordPress found here, http://svn.automattic.com/wordpress-i18n/de_DE/rosetta/, I just renamed them the de_DE.po/mo So the language files shipped with Event Espresso do work, it may just be a multisite issue. |
|
Hi Dean, this is what i did:
Where can I found the required files? for example rosetta.php, … PS: Why you choose the rosetta-language files ? Why you think that this on solve the probelem? |
|
I have just the same problem. Even tought is translated (spanish event espresso .po is somewhat innacurate but very complete) and the pdf does not change. |
|
@Peter. I chose the rosetta PO/MO files as they were the only ones I found via the English language WordPress site – see the Subversion Repository here http://codex.wordpress.org/Translating_WordPress#Using_Localizations. However, to try and get this resolved, I went to http://de.wordpress.org/ and downloaded the zip file. I copied the languages folder (the entire folder) to my WPMU site wp-includes folder. I made sure the wp-config was set to de_DE. WordPress came up in German, Event Espresso came up in German. Screenshot @Sports Marketing Hi, this is a slightly different question so really deserves its own thread. However, though most of the plugin is translatable certain areas may not be, we are always working to to improve that aspect. We are looking to improve the PDF invoices in the future by swapping it over to an HTML base which will allow much easier translations than our current set up. |
|
Hi Dean, excuse me for my lately feedback. I made a test yesterday morning! I had deleted the english language file “wp-content/plugins/event-espresso/languages/event_espresso-en_US.po” and after that I am refreshed the screen with this page “http://raum-und-zeit.creativetours.ch/event-registration?ee=1” Result: Then I had deleted the german language file “wp-content/plugins/event-espresso/languages/event_espresso-de_DE.po” too Result: the conclusion question is: The script reads the expressions Datum, Startzeit und Endzeit from the “event_espresso-de_DE.po”-file but from which file the script reads the english expressions, above all this ones: Personal Information, First Name, Last Name, Email |
|
Hi, The plugin is written in English so everything is in English. What happens is that WordPress will look for language files, and if it finds them it will convert WordPress to that language. Event Espresso then loads and checks what language WordPress is in and then loads the corresponding language file. The German translation (event_espresso-de_DE.po is only 91% complete at the last count, with around 2400 translatable words and phrases. And yes there are some words/phrases that are currently untranslatable. It isnt translatable as it is the Questions. You can edit the core questions to change the basic terms like Name, so you can translate it directly there.
|
|
Hi Dean, thank you for your good feedback. Where I can find the core questions to change the basic terms? |
|
Hi, In WordPress go to Event Espresso > Questions then hover your mouse over the question you want to change and hit Edit. Then you can change the Question name from First name to whatever that is in German, update the question and do the same with other questions. You can do the same with the Question group as well. |
The support post ‘invoice Payment – Change the content of the pdf document’ 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.