Bug 205709 Translation table is missed when report design is flattened
It happens when a report design with a localization property file and some library (otherwise it's not flattened!) is executed. Such report document has no transaltion table and then can not be localized. The problem is in org.eclipse.birt.report.model.util.ReportDesignSerializer#visitReportDesign which does not copy the translation table from ReportDesignSerializer#sourceDesign to ReportDesignSerializer#targetDesign.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ReportDesignSerializer.java
return;
		do
		{
			if ( current.hasUserProperties( ) )
			{
				iter = current.getLocalUserProperties( ).iterator( );
				while ( iter.hasNext( ) )
				{
					UserPropertyDefn uDefn = (UserPropertyDefn) iter.next( );
					if ( newElement.getLocalUserPropertyDefn( uDefn.getName( ) ) != null )
						continue;
					newElement.addUserPropertyDefn( (UserPropertyDefn) uDefn
							.copy( ) );
				}
			}
			current = current.getExtendsElement( );
		} while ( current != null );
	}
	/**
	 * Copies all values from element to newElement. Structure, element
	 * reference values, etc. are dumped as a new copy.
	 * 
	 * @param element
	 *            the source element
	 * @param newElement
	 *            the target element
	 */
	private void localizePropertyValues( DesignElement element,
			DesignElement newElement )
	{