Re: Localization Problem? I'm getting ¤ instead of $

2011-06-09 Thread Johnny Miller
Ramsey == the man Thank you! On Jun 9, 2011, at 11:12 AM, Ramsey Gurley wrote: > er.extensions.ERXLocalizer.useLocalizedFormatters=false Johnny Miller Kahalawai Media Corp http://www.kahalawai.com ___ Do not post admin requests to the list. They

Re: Localization Problem? I'm getting ¤ instead of $

2011-06-09 Thread Ramsey Gurley
Try er.extensions.ERXLocalizer.useLocalizedFormatters=false On Jun 9, 2011, at 1:53 PM, Johnny Miller wrote: > Hi, > > I'm using localization on a project and when I deploy the application my > dollars signs are getting converted to this gremlin: ¤ > > Can someone please tell me where I am g

Localization Problem? I'm getting ¤ instead of $

2011-06-09 Thread Johnny Miller
Hi, I'm using localization on a project and when I deploy the application my dollars signs are getting converted to this gremlin: ¤ Can someone please tell me where I am going wrong? Thanks in advance, Johnny Miller Kahalawai Media Corp http://www.kahalawai.com ___

Re: DB Localization problem - valueForKey(): lookup of unknown key: 'my_desc'.

2011-01-07 Thread Ramsey Gurley
Try setting a breakpoint in ERXGenericRecord._otherStorageBinding() and see what happens when your my_desc key is passed through it. Does it create a localized binding? Ramsey On Jan 7, 2011, at 9:05 AM, Sreenivasulu A wrote: Hi All, In my application, I am doing Database Localization.

Re: DB Localization problem - valueForKey(): lookup of unknown key: 'my_desc'.

2011-01-07 Thread Travis Britt
It's been a while since I set this up, but do you have the localized attributes in your Currency entity? Attributes like myDesc_en, myDesc_ms ? tb On Jan 7, 2011, at 9:05 AM, Sreenivasulu A wrote: > Hi All, > > In my application, I am doing Database Localization. > For this I did the followin

DB Localization problem - valueForKey(): lookup of unknown key: 'my_desc'.

2011-01-07 Thread Sreenivasulu A
Hi All, In my application, I am doing Database Localization. For this I did the following: DB charset = UTF-8 public class _Currency extends ERXGenericRecord {} _Currency.plist: == { allowsNull = N; columnName = "my_desc"; name = "my_desc

Re: Localization problem, hello world too [solved]

2009-12-26 Thread Ramsey Lee Gurley
On Dec 26, 2009, at 6:16 AM, Johann Werner wrote: > > Am 24.12.2009 um 17:10 schrieb Ramsey Lee Gurley: > >> Hmm, beyond that, I'm not really sure. Maybe someone who does session-less >> WO apps has better advice. >> >> Since writing that bit of info, I've accepted that attempting to use WO

Re: Localization problem, hello world too [solved]

2009-12-26 Thread Johann Werner
Am 24.12.2009 um 17:10 schrieb Ramsey Lee Gurley: > Hmm, beyond that, I'm not really sure. Maybe someone who does session-less WO > apps has better advice. > > Since writing that bit of info, I've accepted that attempting to use WO > without sessions is a practice in masochism. You lose all

Re: Localization problem, hello world too [solved]

2009-12-24 Thread Ramsey Lee Gurley
Hmm, beyond that, I'm not really sure. Maybe someone who does session-less WO apps has better advice. Since writing that bit of info, I've accepted that attempting to use WO without sessions is a practice in masochism. You lose all the real power of WO without sessions. No component actions,

Re: Localization problem, hello world too [solved]

2009-12-24 Thread Johann Werner
Hi Ramsey, my default language is English. In my performActionNamed method I am already doing this: String lang = request().cookieValueForKey("language"); NSArray languages = null; if (lang == null) { languages = request().browserLanguages(); } else { languages = new NSArray(lang

Re: Localization problem, hello world too [solved]

2009-12-24 Thread Ramsey Lee Gurley
On Dec 24, 2009, at 9:20 AM, Johann Werner wrote: > Hi list, > > I have the same problem as described in this thread. I have an app that uses > only direct actions (no sessions) but stores the current language in a > cookie. By default I check for that language setting and set the current > E

Re: Localization problem, hello world too [solved]

2009-12-24 Thread Johann Werner
Hi list, I have the same problem as described in this thread. I have an app that uses only direct actions (no sessions) but stores the current language in a cookie. By default I check for that language setting and set the current ERXLocalizer accordingly. But when calling pageWithName I get eve

Re: Localization problem, hello world too [solved]

2008-12-02 Thread Ramsey Lee Gurley
On Dec 2, 2008, at 2:53 AM, Anjo Krank wrote: Am 02.12.2008 um 08:04 schrieb Anjo Krank: If it doesn't, rewrite the method so it re-orders the nsarray so that it still has all items from _expectedLanguages, but the ones from nsarray come first and in order and post a patch. I checked in

Re: Localization problem, hello world too [solved]

2008-12-02 Thread phil
Hi, At least localized "HelloWorld" works without the er.extensions.ERXApplication.fixCachingEnabled=false property I'll link my other project to this version and check. PHiL Anjo Krank a écrit : Am 02.12.2008 um 08:04 schrieb Anjo Krank: If it doesn't, rewrite the method so it re-orders

Re: Localization problem, hello world too [solved]

2008-12-01 Thread Anjo Krank
Am 02.12.2008 um 08:04 schrieb Anjo Krank: If it doesn't, rewrite the method so it re-orders the nsarray so that it still has all items from _expectedLanguages, but the ones from nsarray come first and in order and post a patch. I checked in an (untested) interim patch. See if the problem

Re: Localization problem, hello world too [solved]

2008-12-01 Thread Anjo Krank
Am 02.12.2008 um 07:46 schrieb phil: er.extensions.ERXApplication.fixCachingEnabled=false In your properties file and see if that doesn't get the server to respect the browser defaults. I say a partial fix, because setting the language in the session does not change the component return

Re: Localization problem, hello world too [solved]

2008-12-01 Thread phil
Hi Ramsey, Setting the er.extensions.ERXApplication.fixCachingEnabled property solved the problem. Thank you so much for the time spent tracking the bug. Now I've a lot of mods to do in my apps but I think I'll spend some time to set up UI tests and try to keep up to date with versions of Won

Re: Localization problem, hello world too

2008-12-01 Thread Ramsey Lee Gurley
Phil, I just built a small localized app and I can verify this problem on WO 5.4.3 and latest Wonder. Setting the language on the session explicitly has no effect. Between English and Japanese, it always uses the English component. Even setting the default language in the properties fi

Re: Localization problem, hello world too

2008-12-01 Thread Guido Neitzer
Hi Phil, did you check that you get the localized components in the correct spots in the built application? Not that one localization overrides the other or so?! cug On 01.12.2008, at 07:33, phil wrote: Hi, To Ramsey: Yes I'm sure I'm using session, cause I'm NSLogging from my Sessio

Re: Localization problem, hello world too

2008-12-01 Thread phil
Hi, To Ramsey: Yes I'm sure I'm using session, cause I'm NSLogging from my Session.java, extension of ERXSession... I tried to create a new Application, following the Hello World tutorial. As long as my only localizations are Strings in Localizable.strings, this works, browser preferencies

Re: Localization problem

2008-11-28 Thread Ramsey Lee Gurley
Are you sure you have a session? If you don't have one, the app will go with the server's default language no matter what you set in the browser. http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Development-Localization+and+Internationalization Try the method near the bott

Re: Localization problem

2008-11-28 Thread Xavier Destombes
You may search the list for other Localizer tips I think there has been some thread related to this this pas couple month. Maybe someone with more knowledge regarding ERXLocalizer could provide some tips. Hi Xavier, I have the following in Properties: er.extensions.ERXLocalizer.frameworkSe

Re: Localization problem

2008-11-28 Thread phil
Hi Xavier, I have the following in Properties: er.extensions.ERXLocalizer.frameworkSearchPath = (app, ERExtensions) er.extensions.ERXLocalizer.availableLanguages = (French, German, English) er.extensions.ERXLocalizer.defaultLanguage = French er.extensions.ERXLocalizer.fileNamesToWatch = ("Localiz

Re: Localization problem

2008-11-28 Thread Xavier Destombes
Hello Philippe, I'm not sure about your issue, but do you have the correct properties setup in your project: er.extensions.ERXLocalizer.defaultLanguage = German er .extensions .ERXLocalizer .fileNamesToWatch=("Localizable.strings","ValidationTemplate.strings") er.extensions.ERXLocalizer.av

Localization problem

2008-11-28 Thread phil
Hi I'm in the lasts steps to port an XCode WO 5.3.3 application to Eclipse. I also updated the wonder framework (not the latest, wonder-5.0.0.8273) I'm able to compile the application and run it from eclipse or deployed. The only thing that is still a problem is translation/localization. This

Re: Logout and localization problem

2006-04-11 Thread Anjo Krank
: reengineering. Who says, it goes well? :/) peaSakoe - Original Message - From: "Miguel Arroz" <[EMAIL PROTECTED]> To: "WebObjects-Dev Apple" Sent: Saturday, April 08, 2006 6:15 PM Subject: Re: Logout and localization problem Hi! Well, I could ma

Re: Logout and localization problem

2006-04-10 Thread Chuck Hill
;oh i need another languages". Solutions: reengineering. Who says, it goes well? :/) peaSakoe - Original Message - From: "Miguel Arroz" <[EMAIL PROTECTED]> To: "WebObjects-Dev Apple" Sent: Saturday, April 08, 2006 6:15 PM Subject: Re: Logout and localiz

Re: Logout and localization problem

2006-04-10 Thread Chuck Hill
On Apr 8, 2006, at 9:15 AM, Miguel Arroz wrote: Hi! Well, I could make it work... (I removed some verifications code from the snippet blow to make it simpler to read): public WOActionResults logoutAction() { String language = (String)request().formValueForKey ("language");

Re: Logout and localization problem

2006-04-10 Thread Chuck Hill
Hi Miguel, Suggestions below. On Apr 8, 2006, at 8:55 AM, Miguel Arroz wrote: Hi! We have an application where the preferred user language is stored in his account. So, he may see the application in English, but as soon as he logs-in, the app switches to the language he choose before.

Re: Logout and localization problem

2006-04-10 Thread Miguel Arroz
think "oh i need another languages". Solutions: reengineering. Who says, it goes well? :/) peaSakoe - Original Message - From: "Miguel Arroz" <[EMAIL PROTECTED]> To: "WebObjects-Dev Apple" Sent: Saturday, April 08, 2006 6:15 PM Subject: Re: Logou

Re: Logout and localization problem

2006-04-10 Thread WebObjects
;oh i need another languages". Solutions: reengineering. Who says, it goes well? :/) peaSakoe - Original Message - From: "Miguel Arroz" <[EMAIL PROTECTED]> To: "WebObjects-Dev Apple" Sent: Saturday, April 08, 2006 6:15 PM Subject: Re: Logout and localiz

Re: Logout and localization problem

2006-04-08 Thread Miguel Arroz
Hi! Well, I could mate it work... (I removed some verifications code from the snippet blow to make it simpler to read): public WOActionResults logoutAction() { String language = (String)request().formValueForKey ("language"); changeLanguage(language); WOComponen

Logout and localization problem

2006-04-08 Thread Miguel Arroz
Hi! We have an application where the preferred user language is stored in his account. So, he may see the application in English, but as soon as he logs-in, the app switches to the language he choose before. We do this by removing his language from the session language list, and adding