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
openDesign( "DocumentUtilTest_9.xml" ); 
		serializeDocument( );
		assertTrue( compareFile( "DocumentUtilTest_golden_7.xml" ) ); 
	}
	/**
	 * Tests property bindings defined in the library, and the data set uses the
	 * binding. After the serialization, the output document should have the
	 * property binding.
	 * 
	 * @throws Exception
	 */
	public void testSerializeExternalPropertyBindings( ) throws Exception
	{
		openDesign( "DocumentUtilTest_PropBindings.xml" ); 
		serializeDocument( );
		
		assertTrue( compareFile( "DocumentUtilTest_propBindings_golden.xml" ) ); 
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.util.BaseTestCase#tearDown()
	 */
	protected void tearDown( ) throws Exception
	{
		designHandle = null;
		super.tearDown( );
	}
}