croogo/croogo — pull request #100 by smarek (2012-08-27 14:38:13+00:00)
Title: Update Translate plugin, so it supports Plugin model translations

I've modified all files of Translate Plugin,

if you try something like this with old version of code, you will get no translation at all when using Plugin
The model Citates.Citate is standard CakePHP Model, no necesarry fields

https://github.com/smarek/Croogo-Citates/blob/master/Model/Citate.php

```php
'Citates.Citate' => array(
'body' => 'bodyTranslation',
'author' => 'titleTranslation'
)
```

The changes are:

* Allow Translate Plugin to hook on your admin menu in Plugin admin functions
* Allow Translate Plugin to translate Plugin models (saved in /app/Plugin/PluginName/Model/ModelName.php)
* When translating object, to display in admin, not lookup for field 'title', but use $model->displayField instead

note this pull request conforms with many bug reports I found on Google Groups, such as:

* https://groups.google.com/d/topic/croogo/cekJqsz8ZLc/discussion
* https://groups.google.com/d/topic/croogo/Jq78Hn3wk6Y/discussion