Re: Examples and implementation of Dynamic String Internationalization for UIBinder and its classes.

500 views
Skip to first unread message

Joseph Lust

unread,
Aug 9, 2012, 11:06:24 AM8/9/12
to google-we...@googlegroups.com
Nataraj,

I know you don't want to redeploy you application each time a string changes, but calling an external service can also complicate things. I say this from experience as a group at my company did a very large (200K line, 400 screen) GWT app last year which had to work in many languages. They did not use the GWT i18n tools because the company wanted to use a service like you describe. However, the result was a much slower application because various parts of the GWT code had to wait for the i18n files to be loaded from the company's (very slow) i18n service before it could render anything on a given page or screen. In hindsight, they wish they had used the GWT i18n facilities since such strings rarely are ever changed in production.


Hope that helps.

Sincerely,
Joseph

prasad kulkarni

unread,
Jun 27, 2013, 5:01:42 AM6/27/13
to google-we...@googlegroups.com
Hi nataraj,

did you get the solution ?

On Wednesday, 8 August 2012 15:07:33 UTC+5:30, Bens wrote:
Hi all,

We have started a small GWT project which needs to support multiple languages. For that we go for internationalization technique in GWT. As far we read the GWT Internalization module, static implementation was simple but for that we need to re-compile each and every time we change any thing in properties files or while adding new labels & languages. It is ok when we change labels and add new languages. But for replacing gramatical and verbal errors in the properties files for other languages, we have to re-compile them.

So, we analyzed and checked whether we can move the properties files alone from the interface calling location to separate location away from project and call them externally. But localization in GWT requires the properties files need to be in same location, where the respective interface calls are done. Is there any other way to do this?

Also, we came to know the GWT supports internalization using dynamic string method, where we can write all the labels in the hosted HTML page change them for each language using Java-Script calls. Can this Dynamic String Internalization supports the change (in multiple languages) for the labels declared in UIBinder and its java class.? If so, can anyone explain it with simple example...


Regards,
Nataraj...
Reply all
Reply to author
Forward
0 new messages