Go Back   SmartClient Forums > Smart GWT Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 28th Jun 2011, 11:21
agalvao agalvao is offline
Registered Developer
 
Join Date: Jun 2011
Posts: 31
Default Calendar i18n

Hello,

I am using i18n for PT-pt, but the Calendar shows EN texts.
What should I do to change the texts to PT?


Using SmartGWT LGPL 2.4

Thanks!
agalvao
Reply With Quote
  #2  
Old 28th Jun 2011, 11:49
smartgwt.dev smartgwt.dev is offline
Registered Developer
 
Join Date: Nov 2008
Posts: 1,091
Default

Did you mean pt_BR, or pl_PL? There is no PT-pt locale. If you see a missing translation, you need to update it on the Smart GWT 99translations page. Also try downloading the latest build as several translations have been added post 2.4.
Reply With Quote
  #3  
Old 7th Jul 2011, 09:34
agalvao agalvao is offline
Registered Developer
 
Join Date: Jun 2011
Posts: 31
Default

I will try to explain better.

I have some components in my application that are not internationalizing as expected.
In the smartgwt.jar, I have the correct language properties file (pt). But in Calendar and Dialogs (SC.ask, SC.confirm,...) the labels are presented in EN.

Maybe I am missing some configuration.
Can you help me?

Thanks in advance,
agalvao
Reply With Quote
  #4  
Old 13th Jul 2011, 02:44
agalvao agalvao is offline
Registered Developer
 
Join Date: Jun 2011
Posts: 31
Default

Anyone can help?

agalvao
Reply With Quote
  #5  
Old 13th Jul 2011, 03:20
sjivan sjivan is offline
Registered Developer
 
Join Date: May 2008
Posts: 1,530
Default

You were already told that you need to update the "pt" translations on the 99translations project. If those translations are incomplete, then you will continue to see the english translations for the missing entries.

The pt_BR translations are more complete and the i18n of the Calendar and Dialogs are fine.

First

Code:
<extend-property name="locale" values="pt_BR"/>
and once the application starts, make sure you add the locale=pt_BR param in the URL.

See attached screenshots.
Attached Images
File Type: png calendar-pt_BR.png (38.2 KB, 14 views)
File Type: png dialog-pt_BR.png (13.0 KB, 13 views)
Reply With Quote
  #6  
Old 14th Jul 2011, 09:55
agalvao agalvao is offline
Registered Developer
 
Join Date: Jun 2011
Posts: 31
Default

Hello,

I've updated the pt properties file with some missing properties and added the tag

<meta name="gwt:property" content="locale=pt">

in html file.

Now it is finally working.

Thanks for the help!

agalvao
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
calendar i18n paulwilhelm Wishlist 0 18th Aug 2010 05:42
Calendar widget (Month view) need the number of rows. colinsulin Smart GWT Technical Q&A 0 3rd Aug 2010 16:07
Trouble with eventId as the primary key for Calendar dominikz Smart GWT Technical Q&A 1 19th Nov 2009 04:15
Calendar - a hack for repeating events kengiles Technical Q&A 1 6th Sep 2009 19:20
calendar i18n paulwilhelm Technical Q&A 1 15th Jun 2009 18:56

© 2010,2011 Isomorphic Software. All Rights Reserved