GWT use I18 Message resource in uiBinder

To use I18 Message resource in uiBinder you need to follow the same mechanism as that of ClientBundle In your corresponding java class add @uiFactory method which will return the object of required Message interface e.g. package com.test.module.client; public interface Messages extends com.google.gwt.i18n.client.Messages { @DefaultMessage("Home") @Key("home") @DefaultMessage("Home") String home(); } public class MyUiBinder extends Composite{ ..... ..... @UiFactory public static Messages getResources() { return GWT.create(Messages.class); } } And you can use the same inside corresponding MyUiBinder. [Read More]