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.tests/test/org/eclipse/birt/report/model/writer/DocumentUtilTest.java
/**
	 * when there is a external resource file sets for this report, all report
	 * properties use the external string value should be saved into the report
	 * file after serialization. And the reource key should be set to null.
	 * 
	 * @throws Exception
	 * 
	 */
	public void testSerializeExternalString( ) throws Exception
	{
		openDesign( "DocumnetUtilTest_ExternalResource.xml" ); 
		assertNotNull( designHandle );
		serializeDocument( );
		assertTrue( compareFile( "DocumentUtilTest_golden_5.xml" ) );  
	}
	/**
	 * For extended item, the extension name must be set first. So that, other
	 * properties can be set propertyly.
	 * 
	 * @throws Exception
	 */
	public void testExtendedItem( ) throws Exception
	{
		openDesign( "DocumentUtilTest_ExtendedItem.xml" ); 
		assertNotNull( designHandle );
		serializeDocument( );
		ExtendedItemHandle matrix1 = (ExtendedItemHandle) designHandle
				.findElement( "matrix1" ); 
		assertNotNull( ( (ExtendedItem) matrix1.getElement( ) ).getExtDefn( ) );
		assertTrue( compareFile( "DocumentUtilTest_golden_6.xml" ) );