I'm building a website with Wordpress and I'm using the plugin Event Organiser.
I changed the config file of Wordpress to use the nl_NL (Dutch) language. This all works fine, even for the plugin, except the pages that use a template I overloaded in my child theme.
So I made this child theme for twenty eleven, and I copied a template file of the plugin and put it in my child theme and edited it there.
Now only a part is translated to Dutch, the English words/sentences that come after the edited parts (that normally are translated) stay in English.
For instance I see this line in my template:
<?php edit_post_link( __( 'Edit'), '<span class="edit-link">', '</span>' ); ?>
or this line:
$utility_text = __( 'This event was posted by <a href="%5$s">%4$s</a>.', 'eventorganiser' );
which then gets printed with printf
. I did not add these lines, they were already in the template, and did work when the template was unaltered.
What can I do to fix this? Even the edit button, which translate to dutch on other pages, doesn't translate.
A one line solution would be great.. But that won't be the case sadly :D