[Django] #12193: Add details to the 18n documentation for translation of model classes

View: New views
2 Messages — Rating Filter:   Alert me  

[Django] #12193: Add details to the 18n documentation for translation of model classes

by Django-3 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

#12193: Add details to the 18n documentation for translation of model classes
------------------------------------------+---------------------------------
   Reporter:  maxime.petazzoni@...  |                Owner:  nobody    
     Status:  new                         |            Milestone:            
  Component:  Documentation               |              Version:  1.1      
   Keywords:  i18n                        |                Stage:  Unreviewed
  Has_patch:  1                           |           Needs_docs:  0        
Needs_tests:  0                           |   Needs_better_patch:  0        
------------------------------------------+---------------------------------
 While working on the internationalization of a Django application
 recently, I had a hard time finding how to translate a few things used in
 model classes : relations and model methods, when used for columns or
 fields in the Django admin site.

 I finally found the solutions from some random code snippet on the web,
 but I think this really belongs to Django's excellent documentation, so
 you'll find attached a patch to add a few details on how this is done.

 I know there's an i18n documentation refactoring going on in #10260. If my
 patch needs to be reworked on top of that refactoring once it's checked
 in, please let me know.

--
Ticket URL: <http://code.djangoproject.com/ticket/12193>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django updates" group.
To post to this group, send email to django-updates@...
To unsubscribe from this group, send email to django-updates+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: [Django] #12193: Add details to the i18n documentation for translation of model classes (relations and methods)

by Django-3 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

#12193: Add details to the i18n documentation for translation of model classes
(relations and methods)
-------------------------------------------------+--------------------------
          Reporter:  maxime.petazzoni@...  |         Owner:  nobody
            Status:  new                         |     Milestone:        
         Component:  Documentation               |       Version:  1.1  
        Resolution:                              |      Keywords:  i18n  
             Stage:  Unreviewed                  |     Has_patch:  1    
        Needs_docs:  0                           |   Needs_tests:  0    
Needs_better_patch:  0                           |  
-------------------------------------------------+--------------------------
Changes (by maxime.petazzoni@...):

  * summary:  Add details to the 18n documentation for translation of model
              classes => Add details to the i18n
              documentation for translation of model classes
              (relations and methods)

Comment:

 Fixing typo in bug summary.

--
Ticket URL: <http://code.djangoproject.com/ticket/12193#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django updates" group.
To post to this group, send email to django-updates@...
To unsubscribe from this group, send email to django-updates+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---