--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To post to this group, send email to silverst...@googlegroups.com.
To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/silverstripe-dev?hl=en.
On 14/02/2011, at 6:29 PM, Chris wrote:
> Hey Ingo,
> thanks for the reply. I wasnt sure where Silverstripe has been going
> with Translatable, as it is fairly coupled with CMSMain, etc, but no
> real improvements after 2.3.2, so i appreciate the honest response. I
> can see it becoming a module and decoupling from the core as well.
> I'm assuming you'd keep i18n in the trunk and decouple Translatable,
> then create extensions and decorators for Form, SearchForm, etc,
> correct? (you still want a non-translatable site to have a selectable
> default language).
Yes, i18n is a part of core (the CMS itself is translated),
Translatable for database-driven translations can be a module.
>
> the patches submitted in ticket 4199 only fix the ctf, and dont
> provide any interface to translate dataobjects. although the patches
> tie translatable to the core a little more, translatable is already
> tied to the core and it would fix something that has been broken for a
> long time. For anyone that is just entering the multi-lingual arena,
> this will be a much less frustrating situation for them as it would
> make the default install of silverstripe work correctly without
> patches. in the meantime i'm happy to lend a hand in constructing the
> multi-lingual module.
The thing is that we need somebody to drive this process - the core
team will be very busy with stuff that *is* actually on the roadmap
in the next months, and can help out with advice at most :)
I'd suggest you branch off sapphire and cms,
and create a new "silverstripe-translatable" module
where we successively merge features into, in parallel
with removing them from sapphire and cms.
This will require the creation of new decorator callbacks.
>
> To answer your modelAdmin question, currently the only way dataobjects
> can be translated is with Sam's TranslatableModelAdmin module. it is
> a modelAdmin that lets users create & translate dataobjects to allowed
> locales. i do see where this falls short though.. aside from a few
> bugs, it is easy for translated dataobjects to loose their association
> with pages. Anyone that creates a CTF on a normal page and uses a
> filter 'where parentID = {$this->parentID}' will not see a choice to
> of DataObjects to add since TranslatableModelAdmin doesnt check the
> original page's translation group for possible parents. i also have
> issues with modeladmin, but could see some interface extending
> LeftAndMain for a little more specialized operation
Having this code in a module will make it easier to package
less stable features like translatablemodeladmin in the same codebase,
providing a better dev experience (we have to more conservative
with getting stuff into core).
>
> the other thing i would consider in the Pages / SiteTree section is to
> streamline the translation of pages and their associated DataObjects.
> when a user translates a page, look at its dataobjects (if they arent
> translated yet) create translated dataobjects (probably should be
> staged) and add the translations to the translation_group. this would
> be helpful when a customer says 'lets add a 7th language' as right now
> i need to create a new dataobject for each one manually. beyond that,
> maybe add a translation section of the popup to translate individual
> dataobjects to each locale.
Thats very use case specific, and would have to be defined
on a relation-level. Should be possible with relationship getter
overloading already, maybe its just a recipe?
The new ORM in SilverStripe 3, and work going into versioning
of relationships will likely have benefits for Translatable as well.
>
> I guess i am a little confused about what the silverstripe 3.0 ui will
> look like. is it going in the direction of concrete-5's admin ui? I
> thought i read Felipe saying that the best admin interface is 'no
> interface' meaning a front-end system, where someone else commented
> that they are happy that silverstripe will keep a backend interface,
> which i think means youre keeping the sitetree / pages pane. the
> reason why i bring this up is that a new UI can impact translatable,
> and provide more possibilities for a translation UI.
The UI won't drastically change for 3.0, incremental improvements
rather than revolution :)
--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To post to this group, send email to silverst...@googlegroups.com.
To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/silverstripe-dev?hl=en.