Details
Description
See forum post http://forum.civicrm.org/index.php?action=post;msg=83312
In Dutch translation, when trying to register for an event the error: Please set a location type of 'Billing' is thrown, even if the location type Billing exists.
It is a typical case of catch 22: you can not translate the location type BILLING yet CRM/Event/Form/Registration.php translates the billing type:
[code]$this->_bltID = array_search( ts('Billing'), $locationTypes );
[/code]
change this to:
[code]$this->_bltID = array_search( 'Billing', $locationTypes );
[/code]
and the issue is solved.