#1396: Implementation of i18n is awkward and time-wasting
--------------------------+-------------------------------------------------
  Reporter:  colnector    |       Owner:  jwage                
      Type:  enhancement  |      Status:  closed               
  Priority:  major        |   Milestone:                       
 Component:  I18n         |     Version:  1.0                  
Resolution:  wontfix      |    Keywords:                       
  Has_test:  0            |    Mystatus:  Pending Core Response
 Has_patch:  0            |  
--------------------------+-------------------------------------------------
Changes (by jwage):

  * status:  reopened => closed
  * resolution:  => wontfix

Comment:

 I had to think about how to respond. I suppose I should have waited to
 mark it as invalid before doing so. I apologize.

 Anyways, the first point you make about the lang showing multiple times.
 We can't do anything about that. The language must be selected, and this
 hydration isn't something specific for I18n, it just uses a normal
 relationship between your Model and the auto generated ModelTranslation
 and nothing more. It uses INDEXBY to have the collection of data use the
 language as the key. Nothing we can do about it. IMO it really isn't a
 problem as far as performance is concerned.

 As for the ability to have default languages/cultures and having the
 accessors utilize it is just not possible as well :(

 So, basically the things you describe just aren't possible to do with
 Doctrine and the behavior system. However, sfDoctrinePlugin will implement
 something in sfDoctrineRecord for default languages/culture similar to how
 you described. Sorry :( It may not be the answer you wanted to hear. If
 you have any ideas on how to fix these problems please feel free talk to
 me about it, I am all ears.

-- 
Ticket URL: <http://trac.doctrine-project.org/ticket/1396#comment:5>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" 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.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to