Thanks a lot :-)
Larry E. Masters aka PhpNut wrote:
>
> I found one way, is that the proper way?
>
>
> The correct way would be:
>
> $language = 'deu';
> Configure::write('Config.language', $language);
>
>
>
> --
> /**
> * @author Larry E. Masters
> * @var string $userName
> * @param string
I found one way, is that the proper way?
In my app_controller.php i have
uses('L10n')
Then I use the following code:
function AppController()
{
parent::Controller();
$this->L10n=new L10n();
$this->L10n->get('deu')
That was a good start. Thanks.
How do I select a language so that the user can change the language
while browsing.?
thanks in advance :-)
Kaste wrote:
>> How does working this i18n feature in 1.2? I like to make a multilangual
>> site with it...
>>
>>
>
> first steps should be easy.
>
>
> in
Christian Winther [cwi.dk] wrote:
Greetings list
As we all know CakePHP has a great API website ( http://api.cakephp.org )
However, it lacks some features / goodies that can raise it to 'the next
level'.
So after some reading and learning - I have come up with a draft on
how it
COULD look /
The only problems I can see are
- the horse didn't brush it's teeth
- the duck is drunk
- I don't speak French
But other than that all looks fine.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To
I think you can setup the default values like this:
$this->data[model][field]=value
e.g:
$this->data['members']['membership_id']=5
On 6/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm just setting up a new install and have some default values. I'm
> using
>
> $this->set('membership_i
Hi all,
I've been playing around with cakephp for about a week now and must
say it make coding so much more fun :-)
My problem is this:
I have 2 tables.
1)Invoices
2)Details
Invoices contains the customer details,
Details contains the the individual items of an invoice.
let's say the fields in