Title: Dutch language
Last modified: August 21, 2016

---

# Dutch language

 *  Resolved [DVBPaul](https://wordpress.org/support/users/dvbpaul/)
 * (@dvbpaul)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/dutch-language-3/)
 * Hello,
 * As first wonderfull plugin!
    We’re using it for 2 websites, and on both we got
   the same ‘problem’. We use an wp function for this and with this plugin to echo
   in an area the events. But somehow he transforms the Time/Date/month to English
   instead of Dutch (yes we use Dutch wordpress and defined it in the wp-config).
   Also i was wondering how to echo the start and end time of an event.
 * Hoped you could help me,
    Thanks
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/dutch-language-3/#post-3874359)
 * Hi,
 * Could you give me a little more info on what you mean by, “We use an wp function
   for this and with this plugin to echo in an area the events”.
 * Are you sharing the plugin output across different sites?
 *  Thread Starter [DVBPaul](https://wordpress.org/support/users/dvbpaul/)
 * (@dvbpaul)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/dutch-language-3/#post-3874458)
 * Hi,
 * No and yes, the custom code we used comes from a website that also uses crossdomain/
   sub-sites and we used it on a website with only 1 domain,
 * Down below you can see the code:
 *     ```
       function get_evenementen($id) {
       		global $wpdb;
   
       		if( get_option('dbem_events_default_orderby') == 'event_start_date,event_start_time,event_name'){
       			$orderby = 'startdate, starttime, a.post_title';
       		}else if( get_option('dbem_events_default_orderby') == 'event_name,event_start_date,event_start_time'){
       			$orderby = 'a.post_title, startdate, starttime ';
       		  $order = get_option('dbem_events_default_order','ASC');
       		}else if( get_option('dbem_events_default_orderby') == 'event_name,event_end_date,event_end_time'){
       			$orderby = 'a.post_title, enddate ,endtime';
       		}else if( get_option('dbem_events_default_orderby') == 'event_end_date,event_end_time,event_name'){
       			$orderby = 'enddate, endtime, a.post_title';
       		} else {
       			$orderby = 'startdate, starttime,  a.post_title';
       		}
       		$order = get_option('dbem_events_default_order','ASC');
   
       		$query = "SELECT a.ID AS postid, a.post_title, a.post_content, b.meta_value AS startdate, ( SELECT meta_value FROM wp_postmeta WHERE meta_key = '_event_end_date' AND post_id = postid) AS enddate,  ( SELECT meta_value FROM wp_postmeta WHERE meta_key = '_event_start_time' AND post_id = postid) AS starttime, ( SELECT meta_value FROM wp_postmeta WHERE meta_key = '_event_end_time' AND post_id = postid) AS endtime,( SELECT meta_value FROM wp_postmeta WHERE meta_key = 'external_link' AND post_id = postid) AS externallink FROM wp_terms c INNER JOIN wp_term_taxonomy d ON c.term_id = d.term_id INNER JOIN wp_term_relationships e ON e.term_taxonomy_id = d.term_taxonomy_id INNER JOIN wp_posts a ON a.ID = e.object_id INNER JOIN wp_postmeta b ON a.ID = b.post_id WHERE b.meta_key = '_event_start_date' AND taxonomy = 'event-categories' AND a.post_type = 'event' AND a.post_status = 'publish' AND c.term_id =".$id." ORDER BY ".$orderby." ".$order." ";
   
       		$result = $wpdb->get_results($query, OBJECT);
   
       		$k=1;
       		foreach($result as $key => $res) { if($k >3) break;
       			$st_date = $res->startdate;
       			$en_date = $res->enddate;
       			$ex_link = $res->externallink;		 
   
       			if($ex_link!='') { $ev_link = $ex_link; } else { $ev_link = get_permalink($res->postid); }
   
       			$current_date = date("Y-m-d")."</br>";
       			$end_date     = $en_date."</br>";
       			$current_date = $current_date;
       			if($end_date < $current_date) continue;
       			$expiry_date  = ($current_date - $end_date);
       			//echo htmlspecialchars($res->post_title);
       			//if ($expiry_date == -1) continue; ?>
   
       		<li <?php if(($key+1) == count($result)){?>class="last"<?php }?>>
       			<div class="calendar">
       				<span class="maand">
       					<?php echo date("F",strtotime($st_date));?>
       				</span>
       				<strong>
       					<?php echo date("d",strtotime($st_date));?>
       				</strong>
       			</div>
       			<p>
       				<a class="title" href="<?php echo $ev_link;?>">
       					<?php echo $res->post_title;?>
       				</a>
       			</p>
       			<p class="datum-text"><?php echo date("l d F Y", strtotime($st_date));  ?></p>
                 		<p class="datum-text"><?php echo date("G.i", strtotime($st_date)); echo date(" - G.i ", strtotime($en_date)); ?> uur</p>
       			<p class="kosten-text"> <?php echo substr($res->post_content,0,50); ?> </p>	
   
       		</li>
       		<?php $k++; }
       }
       ```
   
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/dutch-language-3/#post-3874478)
 * sorry for the additional detail or confusion but the main issue here is the Time/
   Date/month translation? or echoing the start and end time of an event?
 *  Thread Starter [DVBPaul](https://wordpress.org/support/users/dvbpaul/)
 * (@dvbpaul)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/dutch-language-3/#post-3874481)
 * The main issue is the Time/Date/Month translation, but the echoing the start 
   and end time of an event is an other issue, do I need to create a diffrent post
   for it?
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/dutch-language-3/#post-3874518)
 * how about using date_i18n() instead of date() ?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Dutch language’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [language](https://wordpress.org/support/topic-tag/language/)

 * 5 replies
 * 3 participants
 * Last reply from: [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/dutch-language-3/#post-3874518)
 * Status: resolved