SOLVED: removing the ?> at the end of the controller solved the
problem. Weird.
On Nov 27, 7:30 pm, ava wrote:
> @euromark
>
> how is the test case set up? Well, I call it several times by clicking
> on the link in the view. I don't know if this answers your
> question
ts itself after each run
> therefore the session would always be emptied afterwards...
>
> On 27 Nov., 11:38, ava wrote:
>
>
>
>
>
>
>
> > Hi
>
> > I'm struggling with sessions in cakephp 2.0.3.
>
> > In this testcase the counter should be
Hi
I'm struggling with sessions in cakephp 2.0.3.
In this testcase the counter should be incremented with each click on
the link. The counter always remains 1.
// CONTROLLER
Session->check('scounter')) {
$scounter = $this->Session->read('scounter');
$scounter++;
}
debug 0
Cache.disable
Cache.check 1
Cache.disable was set to false. However, I reading it returns empty
string
On Mar 22, 11:26 pm, gremlin wrote:
> Do you have debug set to 0? If you are seeing the query log then you
> likely don't and with a setting of anything higher than 0 the ca
Summary
the above solution does the following:
- extract msgid and msgstr from file 'default.po'
- automatic translation all messages using google translation (it's a
good starting point anyway)
- export msgid and msgstr to the relevant directories (default.po)
still to to: an edit function to m
Part 3: Axtranslate
http://code.google.com/p/php-language-api/source/browse/trunk/google.translator.php
class AxtranslateComponent extends Object {
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To
Part 2: Controller
'ger','es'=>'spa','el'=>'gre','fr'=>'fre','it'=>'ita','ar'=>'ara','nl'=>'dut','zh'=>'chi');
function import() {
// Step 1: import default.pot File
$this->Translation->import('default.pot');
}
function export() {
// Step 3: export default.po file
Here's my prototype: feedback is appreciated!
(Part1): Model and DDL
find(array("Translation.msgid" =>
$msgid, "locale"=>"en"));
if (empty($trec)) {
$this->create();
$this->data['Translation']['msgid'] = $msgid;
$this->data['T
ot;your Email"
msgstr ""
On 15 Aug., 12:46, "euromark (munich)"
wrote:
> your gmx address does not seem to work
> i tried to contact you but got a delivery failure (not exists)
> maybe you want to drop me a line instead
>
> mark
>
> On 15 Aug., 09:23
Hi Mark,
how can I help (testing, reviewing, developing)? Can you provide the
code?
Andy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.c
Hello,
building multilingual websites is an ongoing process because content
of websites often change.
Therefore translations have to be done for every new release.
Instead of extracting the po files and then translation the file
content I wish to do something smarter.
- keep translations in a db
11 matches
Mail list logo