Re: What locale code to use when using Translate behavior?

2009-10-13 Thread leop
Let's say I want to get the German or Korean locale code, is there an easy way of getting them? Like a function perhaps? Get it from where? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post

Re: What locale code to use when using Translate behavior?

2009-10-13 Thread Rawna
I was wondering if CakePHP got it stored somewhere. Maybe from the L10n class? On Oct 13, 6:43 pm, leop ponton@gmail.com wrote: Let's say I want to get the German or Korean locale code, is there an easy way of getting them? Like a function perhaps? Get it from where?

Re: What locale code to use when using Translate behavior?

2009-10-13 Thread Rawna
I created a helper for this to format the list for forms, I'm asking because maybe there's a better way than the helper I've created. On Oct 13, 7:00 pm, brian bally.z...@gmail.com wrote: On Tue, Oct 13, 2009 at 11:19 AM, Rawna asumaw...@gmail.com wrote: I was wondering if CakePHP got it

What locale code to use when using Translate behavior?

2009-10-12 Thread Rawna
I know by default cake uses 'en_us' as the default locale code. Let's say I want to get the German or Korean locale code, is there an easy way of getting them? Like a function perhaps? --~--~-~--~~~---~--~~ You received this message because you are subscribed to