Hi Marc,

as for multilingual I suggest the following procedure:

1. create po file by bake  (cake.php i18n extract)
2. load po file into translation table:
   - flag new records as new (status: n)
   - set current date for existing records if msgid matches.

3. translation can now take place in the web application: user
(translator) flags translated records as "translated" (status: t)

4. create a new po file for each language, source is the translation
table.
   - take "not translated" text if the item is not translated.



Translation Table:

CREATE TABLE `translations` (
  `id` int(7) NOT NULL auto_increment,
  `msgid` varchar(100) ,
  `locale` char(2) default 'en',
  created timestamp,
  last_used timestamp,
  status char(1),    -- (t:translated, n: new, needs translation, r:
to be reviewed, u: updated, needs translation
  `msgstr` text ,
);

create unique index on msgid,locale

Housekeeping:
- delete translations that are not used for 18 months.


..text extract from pot file:

#: /views/feedback/add.ctp:44
#: /views/feedback/bytag.ctp:62
#: /views/feedback/main.ctp:101
#: /views/feedback/view.ctp:29
#: /views/person/contact.ctp:22
msgid "your Email"
msgstr ""

On 15 Aug., 12:46, "euromark (munich)" <[email protected]>
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, ava <[email protected]> wrote:
>
> > 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to