Hello!
I suggest you do not setup per-language relations, or you'll end up
having to add relationships if you add one or more languages. I usually
keep an has_many relation in main table (Ministries in your example)
toward the I18N table. This allows to do:
my $i18n_content = $row->i18n({ lang => 'ru' })->content;
Michele.
--
Michele Beltrame
http://www.varlogarthas.net/
ICQ# 76660101
Informativa privacy: http://www.italpro.net/em.html
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/