Re: [Django] #14570: New format character to represent locale-specifc alternative month names

2010-11-03 Thread Django
#14570: New format character to represent locale-specifc alternative month names
---+
  Reporter:  shell_dweller | Owner:  nobody   
Status:  new   | Milestone:  1.3  
 Component:  Internationalization  |   Version:  SVN  
Resolution:|  Keywords:  month, format
 Stage:  Unreviewed| Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Changes (by claudep):

 * cc: cla...@2xlibre.net (added)
  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I have some doubt about the "_Month" syntax used in your patch. We are
 currently working on pgettext support in ticket #9988. If it gets
 committed, you would then be able to take advantage of the new pgettext
 function to obtain amore standard contextual marker. More generally, I'm
 still a little worried by the extra strings you add even for languages
 that do not use the feature, but I don't see any other/better method to
 achieve the same goal.

-- 
Ticket URL: 
Django 
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-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #14570: New format character to represent locale-specifc alternative month names

2010-10-26 Thread Django
#14570: New format character to represent locale-specifc alternative month names
--+-
 Reporter:  shell_dweller |   Owner:  nobody
   Status:  new   |   Milestone:  1.3   
Component:  Internationalization  | Version:  SVN   
 Keywords:  month, format |   Stage:  Unreviewed
Has_patch:  1 |  
--+-
 == Why this is required ==

 In certain locales "F" is not enough to represent full month name in long
 date formats. The reason is that "F Y" (e.g., "October 2010") and "F j Y"
 (e.g., "October 1 2010") will require two different grammatical forms for
 month name.

 This patch is useful for Greek and the majority of Slavic languages. Other
 languages may find use of it too.

 == Solution ==

 New format character is introduced to represent alternative locale
 specific month names. The choice of character is "E". Rationale:
 alphabetically it is the closest one to "F" that represents full month
 name.

 == TODO ==

 After this patch is committed to trunk I will create a patch for
 documentation and will notify translators.

 == Historical note ==

 This is a duplicate of ticket 12309 that was created and subsequently
 closed by me. At the time I reckoned that it would be better to use Babel
 for locale specific date representations. However, after careful
 consideration I changed my mind and I do believe this is a useful addition
 to Django because it follows batteries included principle, specially in
 view of new format localization rules introduced in 1.2

-- 
Ticket URL: 
Django 
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-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.