Bug 306576 Externalization/translation of strings in xmi files
Currently our e4xmi files have various hard-coded English strings that are presented to the user (in particular the "label" attributes). Is there some mechanism already defined for externalization/translation of NLS strings from these xmi files? If not, we need to define one. Creating a new xmi file from scratch for each language won't scale, and won't allow switching languages after the product is installed.
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/workbench/UIEvents.java
/*******************************************************************************
 * Copyright (c) 2009,2010 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 ******************************************************************************/
package org.eclipse.e4.ui.workbench;
public class UIEvents {
	public static final String TOPIC_SEP = "/"; 
	public static final String ALL_SUB_TOPICS = "*"; 
	public static final String UITopicBase = "org/eclipse/e4/ui/model"; 
	public static interface EventTypes {
		public static final String CREATE = "CREATE"; 
		public static final String SET = "SET"; 
		public static final String ADD = "ADD"; 
		public static final String REMOVE = "REMOVE"; 
	}
	public static interface EventTags {
		public static final String ELEMENT = "ChangedElement"; 
		public static final String WIDGET = "Widget"; 
		public static final String TYPE = "EventType"; 
		public static final String ATTNAME = "AttName"; 
		public static final String OLD_VALUE = "OldValue"; 
		public static final String NEW_VALUE = "NewValue"; 
	}
	public static interface BindingContext {