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
if ( newRefEelement != null )
				newElement.setProperty( propDefn, new ElementRefValue( null,
						newRefEelement ) );
		}
		else
			newElement.setProperty( propDefn, new ElementRefValue( value
					.getLibraryNamespace( ), value.getName( ) ) );
	}
	/**
	 * Localizs embedded images in sourceEmbeddedImage to the new list of
	 * targetEmbeddedImage.
	 * 
	 * @param sourceEmbeddedImage
	 *            the source images
	 * @param targetEmeddedImage
	 *            the target images
	 */
	private void localizeEmbeddedImage( List sourceEmbeddedImage,
			List targetEmeddedImage )
	{
		for ( int i = 0; i < sourceEmbeddedImage.size( ); i++ )
		{
			EmbeddedImage sourceImage = (EmbeddedImage) sourceEmbeddedImage
					.get( i );
			if ( !targetEmeddedImage.contains( sourceImage ) )
			{
				EmbeddedImage newEmeddedImage = (EmbeddedImage) sourceImage
						.copy( );
				localizeEmbeddedImageValues( sourceImage, newEmeddedImage );