Smart GWT library v3.1 contains a misprint in the file SmartGwtMessages_ru.properties:
multiSortDialog_cancelButtonTitle = Отменя
I would want an output like this:
multiSortDialog_cancelButtonTitle = Отмена
Solutions:
The first version of the solution: rebuild the library with the correct settings.
The following solutions: customized translations.
public void onModuleLoad() {
...
ModifiedSmartgwtMessages customizedMessages = GWT.create(ModifiedSmartgwtMessages.class);
I18nUtil.initMessages(customizedMessages);
...
}
where ModifiedSmartgwtMessages.java is
import com.smartgwt.client.i18n.SmartGwtMessages;
public interface ModifiedSmartgwtMessages extends SmartGwtMessages {
@Override
String multiSortDialog_cancelButtonTitle();
}
and ModifiedSmartGwtMessages_ru.properties is
multiSortDialog_cancelButtonTitle = Отмена
I want to use the second option, but nothing happens, the multiSortDialog_cancelButtonTitle is not overridden
Please let me know what is required in order to override multiSortDialog_cancelButtonTitle.
multiSortDialog_cancelButtonTitle = Отменя
I would want an output like this:
multiSortDialog_cancelButtonTitle = Отмена
Solutions:
The first version of the solution: rebuild the library with the correct settings.
The following solutions: customized translations.
public void onModuleLoad() {
...
ModifiedSmartgwtMessages customizedMessages = GWT.create(ModifiedSmartgwtMessages.class);
I18nUtil.initMessages(customizedMessages);
...
}
where ModifiedSmartgwtMessages.java is
import com.smartgwt.client.i18n.SmartGwtMessages;
public interface ModifiedSmartgwtMessages extends SmartGwtMessages {
@Override
String multiSortDialog_cancelButtonTitle();
}
and ModifiedSmartGwtMessages_ru.properties is
multiSortDialog_cancelButtonTitle = Отмена
I want to use the second option, but nothing happens, the multiSortDialog_cancelButtonTitle is not overridden
Please let me know what is required in order to override multiSortDialog_cancelButtonTitle.