= sfI18nDbTranslation plugin =

== Overview ==

This plugin provides an admin interface to update translations stored in a database

== Installation ==

To install sfI18nDbTranslation:

{{{
symfony plugin-install local|global http://bemused.org/symfony/sfI18nDbTranslationPlugin/sfI18nDbTranslationPlugin-0.0.3.tgz

}}}

Enable the plugin in apps/backend/config/settings.yml:

{{{
    enabled_modules:        [default, sfTransUnit, sfCatalogue]
}}}

rebuild sql and model

{{{
    symfony propel-build-sql
    symfony propel-build-model
    symfony cc
}}}

== Usage ==

Create an entry for each language in the catalogue table.  Edit the plugins/sfI18nDbTranslation/data/fixtures/fixtures.yml, then update the data using

{{{
symfony propel-load-data frontend  plugins/sfI18nDbTranslationPlugin/data/fixtures
}}}

Check your dictionaries are created:

{{{
    http://yoursite.com/backend.php/sfCatalogue/list
}}}

Start adding translations:

{{{
    http://yoursite.com/backend.php/sfTransUnit/list
}}}

== Known limitations/TODO ==
   - 'Use comment for all translations' checkbox doesn't work
   - html pages are ugly
   - delete button doesn't delete all translations on trans_unit page (should it?)
   - lots of other stuff probably

== License ==

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
