Re: Static vs dynamic String internationalization

2015-02-24 Thread Luis Fernando Planella Gonzalez
knows which translation part it needs, so we guarantee to load the required translations before showing the page. But, I agree, it is a very specific requirement. Maybe 99% of the applications are fine with static internationalization. We're part of the other 1%. -- Luis Em segunda-fe

Re: Static vs dynamic String internationalization

2015-02-23 Thread Jens
> > > - The big advantage of dynamic internationalization to me, is that I can > store my translations in a database, and update texts without the need of > stopping servers to deploy a new compiled version of my application. > Not sure if its that big of an advantage.

Static vs dynamic String internationalization

2015-02-23 Thread Mike
Hello everyone, I'm trying to make a decision for my new project whether to use static or dynamic string internationalization. I know how to use both. It's more about pros and cons: - The big advantage of dynamic internationalization to me, is that I can store my translations in

Re: How to access “locale” value (of an Internationalization App) in server side in GWT?

2014-07-29 Thread Tom
Tuesday, July 29, 2014 4:07:47 PM UTC+10, Tom wrote: > > Ok, I am developing an app that supports Internationalization. I am using > Static > String Internationalization method for my app. > > Let say my app can have English & German version, so -1st, I created > MyMe

Re: How to access “locale” value (of an Internationalization App) in server side in GWT?

2014-07-29 Thread Lothar Kimmeringer
Am 29.07.2014 12:22, schrieb Tom: > but how can i capture the "locale"value in this url?* As I said, I solved it differently by passing the language as parameter in the method I call on the server. So I don't have an answer for you, just a solution that makes you independent from the existance of

Re: How to access “locale” value (of an Internationalization App) in server side in GWT?

2014-07-29 Thread Tom
On Tuesday, July 29, 2014 7:46:12 PM UTC+10, Jens wrote: > > The internationalization works fine if i open > *http://127.0.0.1:/Ekajati.html?gwt.codesvr=127.0.0.1:9997;locale=de#!orderPage > >> <http://127.0.0.1:/Ekajati.html?gwt.codesvr=127.0.0.1:9997

Re: How to access “locale” value (of an Internationalization App) in server side in GWT?

2014-07-29 Thread Tom
On Tuesday, July 29, 2014 7:47:42 PM UTC+10, Cerberus wrote: > > Am 29.07.2014 11:41, schrieb Tom: > > The internationalization works fine if i open > > * > http://127.0.0.1:/Ekajati.html?gwt.codesvr=127.0.0.1:9997;locale=de#!orderPage > > * > > > >

Re: How to access “locale” value (of an Internationalization App) in server side in GWT?

2014-07-29 Thread Lothar Kimmeringer
Am 29.07.2014 11:41, schrieb Tom: > The internationalization works fine if i open > *http://127.0.0.1:/Ekajati.html?gwt.codesvr=127.0.0.1:9997;locale=de#!orderPage > * > > But it doesn't work if i open > *http://127.0.0.1:/Ekajati.html?gwt.codesvr=127.0.0.1:9997

Re: How to access “locale” value (of an Internationalization App) in server side in GWT?

2014-07-29 Thread Jens
> > The internationalization works fine if i open > *http://127.0.0.1:/Ekajati.html?gwt.codesvr=127.0.0.1:9997;locale=de#!orderPage > > <http://127.0.0.1:/Ekajati.html?gwt.codesvr=127.0.0.1:9997;locale=de#!orderPage> > * > > But it doesn't work

Re: How to access “locale” value (of an Internationalization App) in server side in GWT?

2014-07-29 Thread Tom
The internationalization works fine if i open *http://127.0.0.1:/Ekajati.html?gwt.codesvr=127.0.0.1:9997;locale=de#!orderPage * But it doesn't work if i open *http://127.0.0.1:/Ekajati.html?gwt.codesvr=127.0.0.1:9997#!orderPage* *;locale=de* On Tuesday, July 29, 2014 6:44:12 P

Re: How to access “locale” value (of an Internationalization App) in server side in GWT?

2014-07-29 Thread Lothar Kimmeringer
Am 29.07.2014 08:07, schrieb Tom: > However, I have a need to know that my app is German |At Server Side|. > That means whenever my GWT Gui in German version then my server will > know that |languageCode=1| if it is in English so server will use the > default language |languageCode=0| I solved it

How to access “locale” value (of an Internationalization App) in server side in GWT?

2014-07-28 Thread Tom
Ok, I am developing an app that supports Internationalization. I am using Static String Internationalization method for my app. Let say my app can have English & German version, so -1st, I created MyMessages.java which has all message texts written in English. Then I create

Re: Completely lost at internationalization (i18n)

2013-12-30 Thread Thomas Broyer
On Monday, December 23, 2013 11:24:20 PM UTC+1, Qunit wrote: > > I'm completely stumped on I18n. Any help would be greatly appreciated. > Here's my info: > - Using mvn 3.0.5 > - Using uiBinder > - GWT 2.5.1 with GWTBootstrap > - Eclipse 4.2 with maven integration > > All working, except when try

Completely lost at internationalization (i18n)

2013-12-28 Thread Qunit
I'm completely stumped on I18n. Any help would be greatly appreciated. Here's my info: - Using mvn 3.0.5 - Using uiBinder - GWT 2.5.1 with GWTBootstrap - Eclipse 4.2 with maven integration All working, except when trying to add I18n for dutch (nl, default) and english (en) Part of .gwt.xml

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

2013-06-27 Thread prasad kulkarni
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 G

NumberFormat and Internationalization Messages

2012-11-22 Thread Thad
I'm am unable to get com.google.gwt.i18n.client.Messages for format a float in production. My DefaultMessage looks like "{0,float,#.0}\"". In DevMode, my number has one digit after the decimal, e.g., 8.8" or 11.6" In production--now Javascript vs Java--the number has *many* digits after the de

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

2012-08-09 Thread Joseph Lust
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.

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

2012-08-08 Thread Bens
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

Re: Application size due to Internationalization

2012-07-25 Thread Shawn Brown
> Thanks for your suggestions. Yes, I did this. But the main issue I am unable > to solve is the size of the code. It is too big to deploy on app.spot. I don't think that is the case. Prior to AE1.7, I was over the limit due to permutations as well. AE1.6 was 150MB/app right, and 1.7 is 1gb (tota

Re: Application size due to Internationalization

2012-07-25 Thread Rana
:) :) Sorry, I got confused with the posting area: No, we don't seem to be putting things we don't need from WEB-INF/deploy, but we are supporting I think 66 languages. And they are making the application very big in size. That is why. Also, originally the application is big, we are doing mathe

Re: Application size due to Internationalization

2012-07-25 Thread Rana
Hello Tony, No, we don't seem to be putting things we don't need from WEB-INF/deploy, but we are supporting I think 66 languages. And they are making the application very big in size. That is why. Also, originally the application is big, we are doing mathematical drawing and calculations... tha

Re: Application size due to Internationalization

2012-07-25 Thread Thomas Broyer
On Wednesday, July 25, 2012 11:34:13 AM UTC+2, Rana wrote: > > Dear Tony, > > Thanks for your suggestions. Yes, I did this. But the main issue I am > unable to solve is the size of the code. It is too big to deploy on > app.spot. > Are you also trying to deploy some WEB-INF/deploy folder? If y

Re: Application size due to Internationalization

2012-07-25 Thread Rana
Hi, Many thanks, I will see if we are deploying the class files in the jar. Thanks a lot for the idea Rana On Wednesday, July 18, 2012 10:48:11 AM UTC+2, Richard wrote: > > Rana - are you combining class files into a jar? That'll help reduce the > file count for GAE, if that's an issue for you.

Re: Application size due to Internationalization

2012-07-25 Thread Rana
oing > development. You let an automated build/test system build the really big > production builds and perform all of the automated tests. > > Hope that helps... > > On Tuesday, July 17, 2012 6:19:10 AM UTC-6, Rana wrote: >> >> Hi, >> >> Does anyone have a

Re: Application size due to Internationalization

2012-07-18 Thread Tony Rah
lly big production builds and perform all of the automated tests. Hope that helps... On Tuesday, July 17, 2012 6:19:10 AM UTC-6, Rana wrote: > > Hi, > > Does anyone have a solution to the huge size of application, when we apply > to it internationalization using the static metho

Re: Application size due to Internationalization

2012-07-18 Thread Richard
Rana - are you combining class files into a jar? That'll help reduce the file count for GAE, if that's an issue for you. Wishlist: upload the code/basic .classes, have GWT compilation happen on Google infrastructure. On Wednesday, July 18, 2012 9:49:19 AM UTC+2, Rana wrote: > > Hi Joseph, > > T

Re: Application size due to Internationalization

2012-07-18 Thread Rana
Hi Joseph, Thanks a lot for the information. I will go through both links, and see if it helps in solving the problem. Many thanks again Rana On Wednesday, July 18, 2012 3:07:48 AM UTC+2, Joseph Lust wrote: > > Rana, > > I've read that internal Google apps must build to 240 permutations for the

Re: Application size due to Internationalization

2012-07-17 Thread Joseph Lust
Rana, I've read that internal Google apps must build to 240 permutations for the supported browsers and languages. To support this they: - Conduct draft compilations only using their desired dev permutation - Do complete compiles for releases/CI/test on a server farm There are instruction

Application size due to Internationalization

2012-07-17 Thread Rana
Hi, Does anyone have a solution to the huge size of application, when we apply to it internationalization using the static method? We are supposed to support 66 languages. The application takes a long time during compilation and the size of the application is huge, we cannot upload it to

Re: GWT internationalization vs GWT Designer internationalization

2011-10-20 Thread Eric Clayberg (Google)
GWT Designer does not use standard Java localization; it uses the standard GWT localization. The correct link from the GWT Designer docs is... http://code.google.com/webtoolkit/tools/gwtdesigner/features/gwt/internationalization.html The link you posted is actually part of the shared WB docs whi

GWT internationalization vs GWT Designer internationalization

2011-10-20 Thread Karel
, through the tutorial and the documentation (see http://code.google.com/webtoolkit/doc/latest/tutorial/i18n.html), suggests using their custom package (com.google.gwt.i18n.*) This seems more than weird. On one side, I like the integration of the designer with internationalization; it makes it a much

UIBinder Internationalization with regular properties file?

2011-09-26 Thread ss.require
What I don't like in the UIBinder Internationalization mechanism: 1)We must place "ui.xml template file" and "localized properties file" in the same folder. 2)"localized properties file" must have a large name like "GenMessages.properties" I need

Re: Custom internationalization with gwt

2011-08-26 Thread mariyan nenchev
Any help with this, please? On Thu, Aug 25, 2011 at 4:19 PM, mariyan nenchev wrote: > Hi, > > I want to make custom internationalization for my gwt app. What does this > means? Imagine that my app must be internationalized for men and women. > (id=men, id=women). > is it po

Custom internationalization with gwt

2011-08-25 Thread mariyan nenchev
Hi, I want to make custom internationalization for my gwt app. What does this means? Imagine that my app must be internationalized for men and women. (id=men, id=women). is it possible to make two different .properties files like MyAppMessages_men_en.properties MyAppMessages_women_en.properties

Aw: Using GNU getText (.po files) to manage the internationalization process

2011-07-22 Thread Jens
Haven't tried it but maybe using http://jsgettext.berlios.de/ along with a custom GWT wrapper using GWT's JSNI feature could work. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://g

Using GNU getText (.po files) to manage the internationalization process

2011-07-22 Thread ialexei
Hi, Our company is looking at using gnu gettext through out the product, due to the availability of abundant tools that work with the .po standard. It seems straight forward to go with the .po files for a pure java swing application and C/C++ pieces of our product. But our WebGUI is built with GWT

Re: internationalization of Serializable classes

2011-06-13 Thread Jeff Larsen
The way we've done this is by passing keys from the server to the client. This allows us to not only have the same values on the client/server but to have different languages between client/server meaning we could potentially have a database setup in a French Locale, have the server spit out Ger

internationalization of Serializable classes

2011-06-13 Thread Thad
Any recommendations on how to handle the internationalization of Serializable classes? I've got a class that extends Exception. I'd like localize the strings so I'm writing the same to the server log I'm displaying in my GWT client. I don't want to keep two separate prope

Re: UiBinder Internationalization - Search/Find Non-Internationalized Strings?

2011-06-03 Thread David Chandler
GWT Designer can help with this. The Externalize Strings tool will find all strings in a Widget hierarchy and move them in to properties files via the GWT Constants interface. Doc: http://code.google.com/webtoolkit/tools/gwtdesigner/features/internationalization.html Demo: http://www.google.com/ev

Re: UiBinder Internationalization - Search/Find Non-Internationalized Strings?

2011-06-03 Thread Erik Uzureau
If I understand your question correctly, what you're looking for is a tool to let you know if there are strings in your codebase that you haven't yet removed and put into .properties files. If that's the case, I don't think mergelocales.py will help you much. What we did with our app is two thing

Fail to compile module with internationalization instructions

2011-06-01 Thread bouba331
r' must be a class [ERROR] Cannot proceed due to previous errors Line 45 corresponds to that piece of code: this.loginPanelConstants = GWT.create(LoginPanelConstants.class); I'm using GWT 2.3 and the Maven GWT Plugin 2.2.0 to generate GWT interfaces (for internationalization and async

Re: UiBinder Internationalization - Search/Find Non-Internationalized Strings?

2011-05-30 Thread spierce7
Thank you very much. I'll look into it. On May 30, 4:05 am, Jānis Ābele wrote: > Look athttp://code.google.com/p/gwt-platform/wiki/MergeLocale, it does what > you want. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this grou

Re: UiBinder Internationalization - Search/Find Non-Internationalized Strings?

2011-05-30 Thread Jānis Ābele
Look at http://code.google.com/p/gwt-platform/wiki/MergeLocale, it does what you want. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this grou

UiBinder Internationalization - Search/Find Non-Internationalized Strings?

2011-05-27 Thread spierce7
Is there a fast way to find non-internationalized strings/attributes in GWT? I have way to many ui binder files to search through by hand. Has someone found a creative way to automatically find them? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit

static string internationalization without @DefaultStringValue annotations?

2011-01-06 Thread Magnus
Hi, I have the following files for static string internationalization of constants: Constants.java Constants_en.properties Constants_de.properties I would like to omit the @DefaultStringValue in Constants.java. The defaults should be the EN-strings. How can I do this? If I omit the

UiBinder Internationalization

2010-12-03 Thread Srividhya Ramachandran
I am having trouble with UiBinder Internationalization. I create a LocalizableResource.properties file with messages and use keys for the messages in the **.ui.xml files. Basically followed the steps in showcase sample project and find that the messages are not being picked up from the properties

Re: internationalization

2010-05-18 Thread Thomas Broyer
On 17 mai, 12:14, Joschua wrote: > Hello guys, there are three (open) questions about the > internationalization of GWT, I have: > > 1) Is it a (huge) performance issue, to use only "Messages" for > constant and parameterized text, where usually would use both > &qu

internationalization

2010-05-18 Thread Joschua
Hello guys, there are three (open) questions about the internationalization of GWT, I have: 1) Is it a (huge) performance issue, to use only "Messages" for constant and parameterized text, where usually would use both "Messages" and "Constants"? 2) Is there a way t

internationalization questions

2010-05-18 Thread Joschua
(I just send this a second time, because I have the feeling, that Google Groups don't send my first message) Hello guys, there are three (open) questions about the internationalization of GWT, I have: 1) Is it a (huge) performance issue, to use only "Messages" for constant and par

Re: Internationalization for com.google.gwt.maps.client.MapWidget

2010-04-26 Thread Eric Ayers
According to the Maps API FAQ: http://code.google.com/apis/maps/faq.html#whatcountries the text should be internationalized for the languages specified in the sheet. If you create your own UI using GWT, you'll have to use GWT's internationalization mechanisms, documented in the D

Internationalization for com.google.gwt.maps.client.MapWidget

2010-04-26 Thread xia
Hi I am not sure if this has been asked. Basically I want to be able to control the language used to display the names on the map, and all controls that use a text. Is this possible? thanks, Xia Weizhong -- You received this message because you are subscribed to the Google Groups "Google Web

Re: UiBinder internationalization using regular Constants?

2010-04-23 Thread Toni
Nice feature, thanks On Apr 21, 8:25 pm, Thomas Broyer wrote: > On 21 avr, 18:19, Toni wrote: > > > > > > > Hi there, > > > I've been trying to use one single file to internationalize my whole > > application with no luck. > > I've been reading this > > >http://code.google.com/p/google-web-toolk

Re: UiBinder internationalization using regular Constants?

2010-04-21 Thread Thomas Broyer
On 21 avr, 18:19, Toni wrote: > Hi there, > > I've been trying to use one single file to internationalize my whole > application with no luck. > I've been reading this > > http://code.google.com/p/google-web-toolkit/issues/detail?id=4355 > > and seems that the current system is a bit controversi

UiBinder internationalization using regular Constants?

2010-04-21 Thread Toni
Hi there, I've been trying to use one single file to internationalize my whole application with no luck. I've been reading this http://code.google.com/p/google-web-toolkit/issues/detail?id=4355 and seems that the current system is a bit controversial at the time. The issue is that some of the in

Internationalization via GWT

2010-03-29 Thread zizou84
Hi I would like to use gwt intrernationalization i have succeded to use Static String Internationalization method and i have added in my HTML page Now , i would like to change the language from my login page;I have added in my login form a combobox to select the language of the application i

Re: Unable to migrate GWT application to version 2.03 due to problem with internationalization

2010-03-23 Thread craige
Sorry, it looks you are indeed right. Many thanks for your help. This project was my first foray into internationalization and GWT let me do something I should not have done which was to create my own locale by the looks of things. Regards Craige On Mar 23, 10:15 am, craige wrote: > Tha

Re: Unable to migrate GWT application to version 2.03 due to problem with internationalization

2010-03-23 Thread craige
Thanks for the suggestion. I tried it but even with a valid locale as the suffix of the file, it still gave the same error when attempting to compile. Perhaps I'm missing an essential piece of information that I cannot find! The name of the file is InternationalizationConstants_es- GTC.properties

Re: Client Bundle and Image Internationalization

2010-03-19 Thread Francisco Bischoff
I tested with a TextResource... just a foobar.txt file with some content inside. Btw, for now I'm using constants to localize images, but without using Bundles... just renaming the URL -- Francisco Bischoff http://www.cirurgiaplastica.pro.br "O mate está para o gaúcho como o chá para os inglese

Re: Unable to migrate GWT application to version 2.03 due to problem with internationalization

2010-03-19 Thread Danny Goovaerts
es_GTC is normally not a valid locale. The "country" part of a locale is the two character ISO country code. GTC is not a valid country code. A reason might be that GWT 1.5 was not strict about the country code format, and that 2.0 is much stricter. Danny On 19 mrt, 14:28, craige wrote: > I am tr

Unable to migrate GWT application to version 2.03 due to problem with internationalization

2010-03-19 Thread craige
I am trying to migrate a GWT 1.5 application (which definitely works without problem) to 2.03 and I am having problems with the compilation of the application. My application uses various locales which are defined in the Main.gwt.xml file The problem comes when the comp

Re: Client Bundle and Image Internationalization

2010-03-17 Thread Christian Goudreau
I see, I'm in the same boat, everything else works fine ! What's in your ClientBundle file ? Does it work if we add every permutation ? (That is something that I didn't tried yet) Christian On Wed, Mar 17, 2010 at 10:16 AM, Francisco Bischoff < franzbisch...@gmail.com> wrote: > Hi! > > I also f

Re: Client Bundle and Image Internationalization

2010-03-17 Thread Francisco Bischoff
Hi! I also found a bug issue in GWT project: http://code.google.com/p/google-web-toolkit/issues/detail?id=4418&can=1&q=image%20i18n but they closed as "cannot reproduce" ¬¬ Maybe we should create another bug

Re: Client Bundle and Image Internationalization

2010-03-17 Thread Christian Goudreau
No, not yet. For now I'm trying to publish my project on google app and see if that issue is still there. I'll try also to set a default locale. Exemple : I have three image file in fact : default.png, default_en_CA.png and default_fr_CA.png. I shouldn't have three file, but two ! My default langu

Re: Client Bundle and Image Internationalization

2010-03-16 Thread Francisco Bischoff
Hello! I just made a project that has the same issue as yours: works in dev mode but not after compiled... I use apache2 server... Localized strings with .properties files work but localized images with imagename_fr.png doesnt... (works only in dev). Have you got to solve this issue? Thanks O

Re: How to show special characters like æ using GWT internationalization and UIBinder

2010-03-13 Thread venura kahawala
>> >> >> On Fri, Mar 12, 2010 at 8:14 PM, Thomas Broyer wrote: >> >>> >>> >>> On Mar 12, 2:09 pm, kahawala wrote: >>> > Hi, >>> > >>> > I have a simple GWT application that uses both Messages and Constant >>>

Re: How to show special characters like æ using GWT internationalization and UIBinder

2010-03-12 Thread Sripathi Krishnan
PM, Thomas Broyer wrote: > >> >> >> On Mar 12, 2:09 pm, kahawala wrote: >> > Hi, >> > >> > I have a simple GWT application that uses both Messages and Constant >> > interfaces to do the internationalization. I want to show danish >> > sp

Re: How to show special characters like æ using GWT internationalization and UIBinder

2010-03-12 Thread venura kahawala
9 pm, kahawala wrote: > > Hi, > > > > I have a simple GWT application that uses both Messages and Constant > > interfaces to do the internationalization. I want to show danish > > special characters like "æ" in my danish version. > > To make it sim

Re: How to show special characters like æ using GWT internationalization and UIBinder

2010-03-12 Thread Thomas Broyer
On Mar 12, 2:09 pm, kahawala wrote: > Hi, > > I have a simple GWT application that uses both Messages and Constant > interfaces to do the internationalization. I want to show danish > special characters like "æ" in my danish version. To make it simple, *all* of your f

Re: server side internationalization

2010-03-10 Thread mmoossen
that looks really great. thanks for sharing Michael On Mar 10, 7:32 am, Sebastien wrote: > Hi > I extracted the code to a dedicated > project:http://code.google.com/p/gwt-i18n-server/ > > Now It supports Constants, ConstantsWithLookup, Messages (plural > included). > > Regards, > Seb > > On 8 f

Re: server side internationalization

2010-03-09 Thread Sebastien
Hi I extracted the code to a dedicated project: http://code.google.com/p/gwt-i18n-server/ Now It supports Constants, ConstantsWithLookup, Messages (plural included). Regards, Seb On 8 fév, 13:42, Lucas de Oliveira wrote: > Hi all, > sorry to bring back the post but I'm having problems while try

Re: internationalization messages with bold parameters

2010-02-15 Thread Thomas Broyer
On Feb 15, 10:53 am, mariyan nenchev wrote: > Hi i am using gwt internationalization for user messages. Some of them are > parameterized ig.e. : My test messsage number {0} > I want to bold the parameterized part. How can i do this? @Message("My test message number {0}")

internationalization messages with bold parameters

2010-02-15 Thread mariyan nenchev
Hi i am using gwt internationalization for user messages. Some of them are parameterized ig.e. : My test messsage number {0} I want to bold the parameterized part. How can i do this? Regards. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit&q

Re: Client Bundle and Image Internationalization

2010-02-11 Thread Christian Goudreau
Still no answers ? I really need that issue to be fixed as my app is going live soon. At least, can anyone test ClientBundle ImageResources with locales on a php server and give me some feedback ? Thanks. Christian On Wed, Feb 10, 2010 at 1:20 PM, Christian Goudreau < goudreau.christ...@gmail.co

Re: Client Bundle and Image Internationalization

2010-02-10 Thread Christian Goudreau
Seems to work in my other project that have tomcat as server... but not on the one that have a php server. Any idea how to fix this ? Christian On Tue, Feb 9, 2010 at 9:00 PM, Christian Goudreau < goudreau.christ...@gmail.com> wrote: > It seem that only the default value is used. > > I have thre

Re: Client Bundle and Image Internationalization

2010-02-09 Thread Christian Goudreau
It seem that only the default value is used. I have three files : image.png, image_en_CA.png and image_fr_CA.png. Everything is working fin in dev mode, but when it come to publish, only image.png is taken into account. Maybe it's because I have PHP server side ? Can anyone help me ? Christian

Re: Client Bundle and Image Internationalization

2010-02-09 Thread Christian Goudreau
It doesn't work after build ! My images are a mess and I can't even change de locale, what am I missing ? Christian On Mon, Feb 8, 2010 at 4:24 PM, Christian Goudreau < goudreau.christ...@gmail.com> wrote: > Ok... it's working in dev mode, I don't know why it didnt when going live, > I'll do som

Re: Client Bundle and Image Internationalization

2010-02-08 Thread Christian Goudreau
Ok... it's working in dev mode, I don't know why it didnt when going live, I'll do some more test and come back later On Mon, Feb 8, 2010 at 12:02 PM, Christian Goudreau < goudreau.christ...@gmail.com> wrote: > There's an example of what I have : > > Inside the client bundle : > > ImageResource e

Re: Client Bundle and Image Internationalization

2010-02-08 Thread Christian Goudreau
There's an example of what I have : Inside the client bundle : ImageResource example(); and in my directory I have : exemple.png exemple_fr_CA.png exemple_en_CA.png and when I set the local to fr_CA, I have exemple.png instead... On Sun, Feb 7, 2010 at 10:20 PM, Christian Goudreau < goudreau.c

Re: server side internationalization

2010-02-08 Thread Lucas de Oliveira
Hi all, sorry to bring back the post but I'm having problems while trying to use KtrI18N. The thing is that I have an Enum class that shouldn't know if the code is running on the client or server side. A little code: public enum Status{ OPEN { @Override public String getI18N() {

Client Bundle and Image Internationalization

2010-02-07 Thread Christian Goudreau
I know how to implements localizable images with Image bundle, but how does it works with Client Bundle ? I found nothing about that in the documentation and I was wondering what was the best way to acheive this with Gwt 2.0. Thx Christian -- You received this message because you are subscribed

Internationalization Mapping

2009-10-30 Thread SkiD
Hello, i want to internationalize my program in that shape: I have a properties file suffix _de, _fr etc. with all translated words like that for german: dog = Hund cat = Katze My Caption = Meine Überschrift I want to call the method for translation in my program like that: translate.getString(

Internationalization

2009-10-30 Thread SkiD
w can i do that ? The only thing i found is "Static String Internationalization", but that's the wrong way. I don't want some methods for each string ... I've a property file called captions_de.properties with all german words as a shape like that: yes = Ja no = Nein et

Re: server side internationalization

2009-10-17 Thread Jaroslav Záruba
pha-v200909202315.zip). > > > >> > In this time, you don't have to download "Kotori I18N Plugin(Eclipse > > > >> > plugin)", which is a trick for the seamless use on both the client > > and > > > >>

GWT internationalization [ERROR] No resource found for key 'cycleID'

2009-10-13 Thread Heidarzadeh
Hi I use GWT 7.1 I have created two .properties files for localization. but that does not work. of course i can run the program and it works correctly in hosted mode but when I want to make a war file I get this error : Compiling module com.douran.portal.Portal Scanning for additional depende

Re: server side internationalization

2009-10-06 Thread Jerome Cance
rick for the seamless use on both the client > and > > >> > the server. > > >> > (2) Put ktr-i18n.jar and javassist.jar in your classpath. > > >> > (3) Use KtrI18NCreator.create() in your server side code like > > >> > GWT.create in the c

Re: server side internationalization

2009-10-05 Thread Sebastien
it is useful to you. > > >> >http://code.google.com/p/kotori/source/browse/#svn/trunk/ktr-i18n/src... > > >> > -- > >> > bufferings > > >> > On 10月5日, 午後9:35, Jerome Cance wrote: > >> > > Thank you for this response, I was thinki

Re: server side internationalization

2009-10-05 Thread bufferings
If you don't use the library, >> > I think a part of it is useful to you. >> >> >http://code.google.com/p/kotori/source/browse/#svn/trunk/ktr-i18n/src... >> >> > -- >> > bufferings >> >> > On 10月5日, 午後9:35, Jerome Cance

Re: server side internationalization

2009-10-05 Thread bufferings
s thinking of a solution like this but > > what > > > I don't like in this solution is the use of a constant for server side > > > ressource bundle. > > > > If I can, I want to use a function to refer to an internation

Re: server side internationalization

2009-10-05 Thread Jerome Cance
d > string. > > > > In summary: > > > > I want to do on my server side: > > myConstants.myMessage(); > > (like I do on client side) > > > > instead of: > > myConstants.getString("myMessage"); > > (avoid the ressource

Re: server side internationalization

2009-10-05 Thread bufferings
ed string. > > In summary: > > I want to do on my server side: > myConstants.myMessage(); > (like I do on client side) > > instead of: > myConstants.getString("myMessage"); > (avoid the ressource bundle mechanism to have

Re: server side internationalization

2009-10-05 Thread Lothar Kimmeringer
Hello Jerome, Jerome Cance schrieb: > Thank you for this response, I was thinking of a solution like this but > what I don't like in this solution is the use of a constant for server > side ressource bundle. > > If I can, I want to use a function to refer to an internationalized string. Check o

Re: server side internationalization

2009-10-05 Thread Jerome Cance
side: myConstants.myMessage(); (like I do on client side) instead of: myConstants.getString("myMessage"); (avoid the ressource bundle mechanism to have unicity on client and server internationalization) But if I can't I will use your solution. --- Jérôme CANCE On

Re: server side internationalization

2009-10-05 Thread Lothar Kimmeringer
Jerome C. schrieb: > I need to use internationalization files on server side (send email, > and email content is internationalized). > When I use GWT.create on my server side, it does not run (exception). [...] > If I can, I don't want to use two different mechanisms for cl

server side internationalization

2009-10-05 Thread Jerome C.
Hello, I need to use internationalization files on server side (send email, and email content is internationalized). When I use GWT.create on my server side, it does not run (exception). Is there a solution to do that ? I use Spring on my server side, so if there is a solution to use gwt l18n

Re: Internationalization deffered binding error

2009-07-06 Thread Christian Goudreau
I found my answer ! It's was really simple, but too simple to be quoted in the documentation. You must have a file MyConstants.properties that act as default even if you don't really use it. I had MyConstants_fr.properties and MyConstants_en.properties and no MyConstants.properties. That was why I

Internationalization deffered binding error

2009-07-06 Thread Christian Goudreau
Hi, I have an error when attempting to compile my module. ERROR] Line 10: Failed to resolve 'com.mesy.client.MyConstants' via deferred binding The thing is, it works fine when I run it. Any idea what to do ? Thanks Christian --~--~-~--~~~---~--~~ You received t

Re: Internationalization not working for all strings

2008-12-17 Thread Owz
Thanks for the suggestions. I've actually just managed to solve the problem. It was partly down to my inexperience with property files and partly because I'm a numpty! Basically, the strings that weren't being localised were all defined with a "-" (hyphen) e.g. clear-sort: Clear Sort The hyphen

Re: Internationalization not working for all strings

2008-12-17 Thread Owz
Thanks for the suggestions. I've actually just managed to solve the problem. It was partly down to my inexperience with property files and partly because I'm a numpty! Basically, the strings that weren't being localised were all defined with a "-" (hyphen) e.g. clear-sort: Clear Sort The hyphen

Re: Internationalization not working for all strings

2008-12-16 Thread Martin Trummer
just some thoughts: * maybe there are some hidden characters, that your editor does not show * maybe the translation has been copied from the default and it just seems not to translate * you could post some of those random strings here - maybe this helps anyone to get a better idea about the pr

Internationalization not working for all strings

2008-12-16 Thread Owz
I'm doing some localization within my application written with GWT 1.5.3 & GWT-Ext 2.0.5. I have around 6 different properties files and I use the i18nCreator command-line tool to create the interfaces. I've got 2 locales, English as default in the original properties files and French in fr_FR.pro

  1   2   >