Jeff,
You are right. This code did not work although there was no compilation
error.
I have 2 other solutions ( and this time, I have successfully tested the
first one :) )
1. with a class that switch I18n
public class I18nSwitcher {
public static I18n getI18n()
{
final String
I have something similar in my project. I resolved the problem with Deferred
Binding.
In HTML page, I can set a js variable :
var profil = profil1;
This js variable will be re-use in Module.gwt.xml to replace default i18n by
a specific one:
!-- 'profil' property --
define-property
Alexandre,
I had tried this but ran into the issue that the replace-with
class=xxx declaration required a class rather than an interface which is
what is used by i18n when utilizing property files. I've seen other
approaches where people have used this approach along with a factory but
that
Does anyone have any experience with how to handle the following
problem?
My application has multiple user roles, all of which see the same
screen with the same fields but depending on what role the user comes
in with, the labels on the fields may differ. I'd like to use an
approach similar to