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
{
			int slotCount = elementDefn.getSlotCount( );
			if ( slotCount > 0 )
				visitSlots( obj, newElement, slotCount );
			List properties = elementDefn.getContents( );
			if ( properties.size( ) > 0 )
				visitContainerProperties( obj, newElement, properties );
		}
		currentNewElement = newElement;
	}
	/**
	 * Adds structure values to the target. Currently only has cases with
	 * embedded image.
	 */
	private void addExternalStructures( )
	{
		List images = (List) targetDesign.getLocalProperty( targetDesign,
				IModuleModel.IMAGES_PROP );
		if ( images == null )
		{
			images = new ArrayList( );
			targetDesign.setProperty( IModuleModel.IMAGES_PROP, images );
		}
		Iterator embeddedImages = externalStructs.values( ).iterator( );
		while ( embeddedImages.hasNext( ) )
		{
			EmbeddedImage image = (EmbeddedImage) embeddedImages.next( );
			targetDesign.rename( image );
			images.add( image );
		}