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
addElement( module, newContext, cachedExternalElement );
			}
			else
			{
				visitExternalElement( tmpElement );
			}
		}
	}
	/**
	 * Creates am element by the given element. The given element must be the
	 * one that is not directly defined in the source design.
	 * 
	 * @param element
	 *            the source element
	 * @param elementRoot
	 *            the root of the element
	 */
	private void visitExternalSelector( Style element, Module elementRoot )
	{
		String tmpStyleName = element.getName( ).toLowerCase( );
		if ( MetaDataDictionary.getInstance( )
				.getPredefinedStyle( tmpStyleName ) == null )
			return;
		Style sourceDesignStyle = (Style) targetDesign
				.findNativeStyle( tmpStyleName );
		if ( sourceDesignStyle == null )
		{
			ElementFactory factory = new ElementFactory( targetDesign );
			DesignElement newElement = factory.newElement(
					element.getDefn( ).getName( ), element.getName( ) )