hello,
I intend to use local PT in SmartGwt, but I'm not getting.
I'm using the latest SmartGwt and GWT in netbeans 6.8.
In the html file I have these lines:
In the xml file I have:
when I run this code:
appears in English Yes/No instead of Sim/Não.
I tried to put in the url "?Locale=pt" and continues in English.
Can anyone help?
thanks
I intend to use local PT in SmartGwt, but I'm not getting.
I'm using the latest SmartGwt and GWT in netbeans 6.8.
In the html file I have these lines:
Code:
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta name="gwt:property" content="locale=pt">
In the xml file I have:
Code:
<inherits name="com.google.gwt.user.User"/> <inherits name="com.google.gwt.xml.XML" /> <inherits name="com.google.gwt.core.Core"/> <inherits name="com.google.gwt.user.History"/> <inherits name="com.google.gwt.i18n.I18N"/> <inherits name="com.smartgwt.SmartGwtNoScript"/> <inherits name="com.smartclient.theme.enterprise.Enterprise"/> <entry-point class="org.test.client. <extend-property name="locale" values="pt"/>
when I run this code:
Code:
SC.ask("Teste", result, new BooleanCallback() { public void execute(Boolean value) { label.setText(result); } } );
I tried to put in the url "?Locale=pt" and continues in English.
Can anyone help?
thanks
Comment