Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[soc2009/i18n] added script to import locales from cldr, and formats …

…for existing locales

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/i18n-improvements@11377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9dfe9f072bfac9f7716ff3a4eebe6171bc75b305 1 parent c52ae07
authored August 02, 2009

Showing 101 changed files with 936 additions and 21 deletions. Show diff stats Hide diff stats

  1. 0  django/conf/locale/ar/__init__.py
  2. 14  django/conf/locale/ar/formats.py
  3. 0  django/conf/locale/bg/__init__.py
  4. 14  django/conf/locale/bg/formats.py
  5. 0  django/conf/locale/bn/__init__.py
  6. 14  django/conf/locale/bn/formats.py
  7. 16  django/conf/locale/ca/formats.py
  8. 0  django/conf/locale/cs/__init__.py
  9. 14  django/conf/locale/cs/formats.py
  10. 0  django/conf/locale/cy/__init__.py
  11. 14  django/conf/locale/cy/formats.py
  12. 0  django/conf/locale/da/__init__.py
  13. 14  django/conf/locale/da/formats.py
  14. 0  django/conf/locale/de/__init__.py
  15. 14  django/conf/locale/de/formats.py
  16. 0  django/conf/locale/el/__init__.py
  17. 14  django/conf/locale/el/formats.py
  18. 18  django/conf/locale/en/formats.py
  19. 0  django/conf/locale/es/__init__.py
  20. 14  django/conf/locale/es/formats.py
  21. 0  django/conf/locale/es_AR/__init__.py
  22. 14  django/conf/locale/es_AR/formats.py
  23. 0  django/conf/locale/et/__init__.py
  24. 14  django/conf/locale/et/formats.py
  25. 0  django/conf/locale/eu/__init__.py
  26. 14  django/conf/locale/eu/formats.py
  27. 0  django/conf/locale/fa/__init__.py
  28. 14  django/conf/locale/fa/formats.py
  29. 0  django/conf/locale/fi/__init__.py
  30. 14  django/conf/locale/fi/formats.py
  31. 0  django/conf/locale/fr/__init__.py
  32. 14  django/conf/locale/fr/formats.py
  33. 0  django/conf/locale/ga/__init__.py
  34. 14  django/conf/locale/ga/formats.py
  35. 0  django/conf/locale/gl/__init__.py
  36. 14  django/conf/locale/gl/formats.py
  37. 0  django/conf/locale/he/__init__.py
  38. 14  django/conf/locale/he/formats.py
  39. 0  django/conf/locale/hi/__init__.py
  40. 14  django/conf/locale/hi/formats.py
  41. 0  django/conf/locale/hr/__init__.py
  42. 14  django/conf/locale/hr/formats.py
  43. 0  django/conf/locale/hu/__init__.py
  44. 14  django/conf/locale/hu/formats.py
  45. 0  django/conf/locale/is/__init__.py
  46. 14  django/conf/locale/is/formats.py
  47. 0  django/conf/locale/it/__init__.py
  48. 14  django/conf/locale/it/formats.py
  49. 0  django/conf/locale/ja/__init__.py
  50. 14  django/conf/locale/ja/formats.py
  51. 0  django/conf/locale/ka/__init__.py
  52. 14  django/conf/locale/ka/formats.py
  53. 0  django/conf/locale/km/__init__.py
  54. 14  django/conf/locale/km/formats.py
  55. 0  django/conf/locale/kn/__init__.py
  56. 14  django/conf/locale/kn/formats.py
  57. 0  django/conf/locale/ko/__init__.py
  58. 14  django/conf/locale/ko/formats.py
  59. 0  django/conf/locale/lt/__init__.py
  60. 14  django/conf/locale/lt/formats.py
  61. 0  django/conf/locale/lv/__init__.py
  62. 14  django/conf/locale/lv/formats.py
  63. 0  django/conf/locale/mk/__init__.py
  64. 14  django/conf/locale/mk/formats.py
  65. 0  django/conf/locale/nl/__init__.py
  66. 14  django/conf/locale/nl/formats.py
  67. 0  django/conf/locale/no/__init__.py
  68. 14  django/conf/locale/no/formats.py
  69. 0  django/conf/locale/pl/__init__.py
  70. 14  django/conf/locale/pl/formats.py
  71. 0  django/conf/locale/pt/__init__.py
  72. 14  django/conf/locale/pt/formats.py
  73. 0  django/conf/locale/pt_BR/__init__.py
  74. 14  django/conf/locale/pt_BR/formats.py
  75. 0  django/conf/locale/ro/__init__.py
  76. 14  django/conf/locale/ro/formats.py
  77. 0  django/conf/locale/ru/__init__.py
  78. 14  django/conf/locale/ru/formats.py
  79. 0  django/conf/locale/sk/__init__.py
  80. 14  django/conf/locale/sk/formats.py
  81. 0  django/conf/locale/sl/__init__.py
  82. 14  django/conf/locale/sl/formats.py
  83. 0  django/conf/locale/sr/__init__.py
  84. 14  django/conf/locale/sr/formats.py
  85. 0  django/conf/locale/sv/__init__.py
  86. 14  django/conf/locale/sv/formats.py
  87. 0  django/conf/locale/ta/__init__.py
  88. 14  django/conf/locale/ta/formats.py
  89. 0  django/conf/locale/te/__init__.py
  90. 14  django/conf/locale/te/formats.py
  91. 0  django/conf/locale/th/__init__.py
  92. 14  django/conf/locale/th/formats.py
  93. 0  django/conf/locale/tr/__init__.py
  94. 14  django/conf/locale/tr/formats.py
  95. 0  django/conf/locale/uk/__init__.py
  96. 14  django/conf/locale/uk/formats.py
  97. 0  django/conf/locale/zh_CN/__init__.py
  98. 14  django/conf/locale/zh_CN/formats.py
  99. 0  django/conf/locale/zh_TW/__init__.py
  100. 14  django/conf/locale/zh_TW/formats.py
  101. 237  django/core/management/commands/importcldr.py
0  django/conf/locale/ar/__init__.py
No changes.
14  django/conf/locale/ar/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F، Y'
  5
+TIME_FORMAT = 'g:i:s A'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'd‏/m‏/Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/bg/__init__.py
No changes.
14  django/conf/locale/bg/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'd F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'd.m.Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/bn/__init__.py
No changes.
14  django/conf/locale/bn/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F, Y'
  5
+TIME_FORMAT = 'g:i:s A'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M, Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = '.'
  13
+THOUSAND_SEPARATOR = ','
  14
+# NUMBER_GROUPING = 
16  django/conf/locale/ca/formats.py
@@ -2,17 +2,13 @@
2 2
 #
3 3
 
4 4
 DATE_FORMAT = 'j \de F \de Y'
5  
-DATETIME_FORMAT = 'j \de F \de Y \\a \le\s H:i'
6  
-TIME_FORMAT = 'H:i'
7  
-YEAR_MONTH_FORMAT = 'F \de Y'
  5
+TIME_FORMAT = 'G:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F \de\l Y'
8 8
 MONTH_DAY_FORMAT = 'j \de F'
9  
-
10 9
 SHORT_DATE_FORMAT = 'd/m/Y'
11  
-SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
12  
-
13  
-FIRST_DAY_OF_WEEK = 1 # 0 means Sunday
14  
-
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
15 12
 DECIMAL_SEPARATOR = ','
16 13
 THOUSAND_SEPARATOR = '.'
17  
-NUMBER_GROUPING = 3
18  
-
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/cs/__init__.py
No changes.
14  django/conf/locale/cs/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j. F Y'
  5
+TIME_FORMAT = 'G:i:s'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+MONTH_DAY_FORMAT = 'j. F'
  9
+SHORT_DATE_FORMAT = 'j.n.Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/cy/__init__.py
No changes.
14  django/conf/locale/cy/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'd F Y'
  5
+TIME_FORMAT = 'g:i:s A'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+# MONTH_DAY_FORMAT = 
  9
+SHORT_DATE_FORMAT = 'j M Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+# DECIMAL_SEPARATOR = 
  13
+# THOUSAND_SEPARATOR = 
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/da/__init__.py
No changes.
14  django/conf/locale/da/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j. M Y'
  5
+TIME_FORMAT = 'H.i.s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j. F'
  9
+SHORT_DATE_FORMAT = 'd/m/Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/de/__init__.py
No changes.
14  django/conf/locale/de/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j. F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+DATETIME_FORMAT = 'j. F Y H:i:s'
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j. F'
  9
+SHORT_DATE_FORMAT = 'd.m.Y'
  10
+SHORT_DATETIME_FORMAT = 'd.m.Y H:i:s'
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/el/__init__.py
No changes.
14  django/conf/locale/el/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'd F Y'
  5
+TIME_FORMAT = 'g:i:s A'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'd M Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
18  django/conf/locale/en/formats.py
... ...
@@ -1,18 +1,14 @@
1 1
 # This file is distributed under the same license as the Django package.
2 2
 #
3 3
 
4  
-DATE_FORMAT = 'N j, Y'
5  
-DATETIME_FORMAT = 'N j, Y, P'
6  
-TIME_FORMAT = 'P'
  4
+DATE_FORMAT = 'F j, Y'
  5
+TIME_FORMAT = 'g:i:s A'
  6
+DATETIME_FORMAT = 'F j, Y g:i:s A'
7 7
 YEAR_MONTH_FORMAT = 'F Y'
8 8
 MONTH_DAY_FORMAT = 'F j'
9  
-
10  
-SHORT_DATE_FORMAT = 'm/d/Y'
11  
-SHORT_DATETIME_FORMAT = 'm/d/Y h:i A'
12  
-
13  
-FIRST_DAY_OF_WEEK = 0 # 0 means Sunday
14  
-
  9
+SHORT_DATE_FORMAT = 'M j, Y'
  10
+SHORT_DATETIME_FORMAT = 'M j, Y g:i:s A'
  11
+# FIRST_DAY_OF_WEEK = 
15 12
 DECIMAL_SEPARATOR = '.'
16 13
 THOUSAND_SEPARATOR = ','
17  
-
18  
-
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/es/__init__.py
No changes.
14  django/conf/locale/es/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j \de F \de Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F \de Y'
  8
+MONTH_DAY_FORMAT = 'j \de F'
  9
+SHORT_DATE_FORMAT = 'd/m/Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/es_AR/__init__.py
No changes.
14  django/conf/locale/es_AR/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+# DATE_FORMAT = 
  5
+# TIME_FORMAT = 
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+# MONTH_DAY_FORMAT = 
  9
+# SHORT_DATE_FORMAT = 
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+# DECIMAL_SEPARATOR = 
  13
+# THOUSAND_SEPARATOR = 
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/et/__init__.py
No changes.
14  django/conf/locale/et/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'G:i:s'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'd.m.Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/eu/__init__.py
No changes.
14  django/conf/locale/eu/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'Yeko M\re\n d\a'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+# MONTH_DAY_FORMAT = 
  9
+SHORT_DATE_FORMAT = 'Y M j'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/fa/__init__.py
No changes.
14  django/conf/locale/fa/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'G:i:s'
  6
+DATETIME_FORMAT = 'j F Y، ساعت G:i:s'
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'Y/n/j'
  10
+SHORT_DATETIME_FORMAT = 'Y/n/j،‏ G:i:s'
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/fi/__init__.py
No changes.
14  django/conf/locale/fi/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j. F Y'
  5
+TIME_FORMAT = 'G.i.s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j. F'
  9
+SHORT_DATE_FORMAT = 'j.n.Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/fr/__init__.py
No changes.
14  django/conf/locale/fr/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+DATETIME_FORMAT = 'j F Y H:i:s'
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M Y'
  10
+SHORT_DATETIME_FORMAT = 'j M Y H:i:s'
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/ga/__init__.py
No changes.
14  django/conf/locale/ga/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = '.'
  13
+THOUSAND_SEPARATOR = ','
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/gl/__init__.py
No changes.
14  django/conf/locale/gl/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'd F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M, Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/he/__init__.py
No changes.
14  django/conf/locale/he/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j בF Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+DATETIME_FORMAT = 'j בF Y H:i:s'
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j בF'
  9
+SHORT_DATE_FORMAT = 'd/m/Y'
  10
+SHORT_DATETIME_FORMAT = 'd/m/Y H:i:s'
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = '.'
  13
+THOUSAND_SEPARATOR = ','
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/hi/__init__.py
No changes.
14  django/conf/locale/hi/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'g:i:s A'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'd-m-Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = '.'
  13
+THOUSAND_SEPARATOR = ','
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/hr/__init__.py
No changes.
14  django/conf/locale/hr/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j. F Y.'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y.'
  8
+MONTH_DAY_FORMAT = 'j. F'
  9
+SHORT_DATE_FORMAT = 'j.n.Y.'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/hu/__init__.py
No changes.
14  django/conf/locale/hu/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'Y. F j.'
  5
+TIME_FORMAT = 'G:i:s'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+MONTH_DAY_FORMAT = 'F j.'
  9
+SHORT_DATE_FORMAT = 'Y.m.d.'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/is/__init__.py
No changes.
14  django/conf/locale/is/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j. F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j. F'
  9
+SHORT_DATE_FORMAT = 'j.n.Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/it/__init__.py
No changes.
14  django/conf/locale/it/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'd F Y'
  5
+TIME_FORMAT = 'H.i.s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'd/M/Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/ja/__init__.py
No changes.
14  django/conf/locale/ja/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'Y年n月j日'
  5
+TIME_FORMAT = 'G:i:s'
  6
+DATETIME_FORMAT = 'Y年n月j日G:i:s'
  7
+YEAR_MONTH_FORMAT = 'Y年n月'
  8
+MONTH_DAY_FORMAT = 'n月j日'
  9
+SHORT_DATE_FORMAT = 'Y/m/d'
  10
+SHORT_DATETIME_FORMAT = 'Y/m/d G:i:s'
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = '.'
  13
+THOUSAND_SEPARATOR = ','
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/ka/__init__.py
No changes.
14  django/conf/locale/ka/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'Y F j'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+# MONTH_DAY_FORMAT = 
  9
+SHORT_DATE_FORMAT = 'Y M j'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/km/__init__.py
No changes.
14  django/conf/locale/km/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j ខែ F ឆ្នាំ Y'
  5
+TIME_FORMAT = 'G:i:s'
  6
+DATETIME_FORMAT = 'j ខែ F ឆ្នាំ Y, G:i:s'
  7
+# YEAR_MONTH_FORMAT = 
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M Y'
  10
+SHORT_DATETIME_FORMAT = 'j M Y, G:i:s'
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/kn/__init__.py
No changes.
14  django/conf/locale/kn/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'h:i:s A'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+# DECIMAL_SEPARATOR = 
  13
+# THOUSAND_SEPARATOR = 
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/ko/__init__.py
No changes.
14  django/conf/locale/ko/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'Y년 n월 j일'
  5
+TIME_FORMAT = 'A g:i:s'
  6
+DATETIME_FORMAT = 'Y년 n월 j일A g:i:s'
  7
+YEAR_MONTH_FORMAT = 'Y년 F'
  8
+MONTH_DAY_FORMAT = 'F j일'
  9
+SHORT_DATE_FORMAT = 'Y. n. j.'
  10
+SHORT_DATETIME_FORMAT = 'Y. n. j. A g:i:s'
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = '.'
  13
+THOUSAND_SEPARATOR = ','
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/lt/__init__.py
No changes.
14  django/conf/locale/lt/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'Y \m. F j \d.'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+# MONTH_DAY_FORMAT = 
  9
+SHORT_DATE_FORMAT = 'Y.m.d'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/lv/__init__.py
No changes.
14  django/conf/locale/lv/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'Y. \g\a\d\a j. F'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'Y. \g. F'
  8
+MONTH_DAY_FORMAT = 'j. F'
  9
+SHORT_DATE_FORMAT = 'Y. \g\a\d\a j. M'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/mk/__init__.py
No changes.
14  django/conf/locale/mk/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'd F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+# MONTH_DAY_FORMAT = 
  9
+SHORT_DATE_FORMAT = 'd.n.Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/nl/__init__.py
No changes.
14  django/conf/locale/nl/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/no/__init__.py
No changes.
14  django/conf/locale/no/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+# DATE_FORMAT = 
  5
+# TIME_FORMAT = 
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+# MONTH_DAY_FORMAT = 
  9
+# SHORT_DATE_FORMAT = 
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+# DECIMAL_SEPARATOR = 
  13
+# THOUSAND_SEPARATOR = 
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/pl/__init__.py
No changes.
14  django/conf/locale/pl/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'd-m-Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/pt/__init__.py
No changes.
14  django/conf/locale/pt/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j \de F \de Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F \de Y'
  8
+MONTH_DAY_FORMAT = 'j \de F'
  9
+SHORT_DATE_FORMAT = 'd/m/Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/pt_BR/__init__.py
No changes.
14  django/conf/locale/pt_BR/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+# DATE_FORMAT = 
  5
+# TIME_FORMAT = 
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+# MONTH_DAY_FORMAT = 
  9
+# SHORT_DATE_FORMAT = 
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+# DECIMAL_SEPARATOR = 
  13
+# THOUSAND_SEPARATOR = 
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/ro/__init__.py
No changes.
14  django/conf/locale/ro/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+DATETIME_FORMAT = 'j F Y, H:i:s'
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'd.m.Y'
  10
+SHORT_DATETIME_FORMAT = 'd.m.Y, H:i:s'
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/ru/__init__.py
No changes.
14  django/conf/locale/ru/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y г.'
  5
+TIME_FORMAT = 'G:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'd.m.Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/sk/__init__.py
No changes.
14  django/conf/locale/sk/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j. F Y'
  5
+TIME_FORMAT = 'G:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j. F'
  9
+SHORT_DATE_FORMAT = 'j.n.Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/sl/__init__.py
No changes.
14  django/conf/locale/sl/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'd. F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+MONTH_DAY_FORMAT = 'j. F'
  9
+SHORT_DATE_FORMAT = 'j. M. Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/sr/__init__.py
No changes.
14  django/conf/locale/sr/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'd. F Y.'
  5
+TIME_FORMAT = 'H.i.s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'Y F'
  8
+MONTH_DAY_FORMAT = 'F j.'
  9
+SHORT_DATE_FORMAT = 'd.m.Y.'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = '.'
  13
+THOUSAND_SEPARATOR = ','
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/sv/__init__.py
No changes.
14  django/conf/locale/sv/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'H.i.s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'Y F'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/ta/__init__.py
No changes.
14  django/conf/locale/ta/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F, Y'
  5
+TIME_FORMAT = 'g:i:s A'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M, Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+# DECIMAL_SEPARATOR = 
  13
+# THOUSAND_SEPARATOR = 
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/te/__init__.py
No changes.
14  django/conf/locale/te/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'g:i:s A'
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+# DECIMAL_SEPARATOR = 
  13
+# THOUSAND_SEPARATOR = 
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/th/__init__.py
No changes.
14  django/conf/locale/th/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y'
  5
+TIME_FORMAT = 'G:i:s'
  6
+DATETIME_FORMAT = 'j F Y, G:i:s'
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M Y'
  10
+SHORT_DATETIME_FORMAT = 'j M Y, G:i:s'
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = '.'
  13
+THOUSAND_SEPARATOR = ','
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/tr/__init__.py
No changes.
14  django/conf/locale/tr/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'd F Y'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'd F'
  9
+SHORT_DATE_FORMAT = 'd M Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = '.'
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/uk/__init__.py
No changes.
14  django/conf/locale/uk/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+DATE_FORMAT = 'j F Y р.'
  5
+TIME_FORMAT = 'H:i:s'
  6
+# DATETIME_FORMAT = 
  7
+YEAR_MONTH_FORMAT = 'F Y'
  8
+MONTH_DAY_FORMAT = 'j F'
  9
+SHORT_DATE_FORMAT = 'j M Y'
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+DECIMAL_SEPARATOR = ','
  13
+THOUSAND_SEPARATOR = ' '
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/zh_CN/__init__.py
No changes.
14  django/conf/locale/zh_CN/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+# DATE_FORMAT = 
  5
+# TIME_FORMAT = 
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+# MONTH_DAY_FORMAT = 
  9
+# SHORT_DATE_FORMAT = 
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+# DECIMAL_SEPARATOR = 
  13
+# THOUSAND_SEPARATOR = 
  14
+# NUMBER_GROUPING = 
0  django/conf/locale/zh_TW/__init__.py
No changes.
14  django/conf/locale/zh_TW/formats.py
... ...
@@ -0,0 +1,14 @@
  1
+# This file is distributed under the same license as the Django package.
  2
+#
  3
+
  4
+# DATE_FORMAT = 
  5
+# TIME_FORMAT = 
  6
+# DATETIME_FORMAT = 
  7
+# YEAR_MONTH_FORMAT = 
  8
+# MONTH_DAY_FORMAT = 
  9
+# SHORT_DATE_FORMAT = 
  10
+# SHORT_DATETIME_FORMAT = 
  11
+# FIRST_DAY_OF_WEEK = 
  12
+# DECIMAL_SEPARATOR = 
  13
+# THOUSAND_SEPARATOR = 
  14
+# NUMBER_GROUPING = 
237  django/core/management/commands/importcldr.py
... ...
@@ -0,0 +1,237 @@
  1
+import sys
  2
+import os
  3
+import re
  4
+from optparse import make_option, OptionParser
  5
+
  6
+from django.core.management.base import LabelCommand, CommandError
  7
+
  8
+try:
  9
+    from lxml import etree
  10
+except ImportError:
  11
+    raise CommandError('You need to install `python-lxml` to run this script')
  12
+
  13
+FORMATS_FILE_NAME = 'formats.py'
  14
+FORMATS_FILE_HEADER = '''# This file is distributed under the same license as the Django package.
  15
+#
  16
+
  17
+'''
  18
+
  19
+def quote(nodes, name,  locale, previous):
  20
+    if len(nodes):
  21
+        return "'%s'" % unicode(nodes[0].text).replace("'", "\\'")
  22
+    else:
  23
+        return None
  24
+
  25
+def convert_time(nodes, name,  locale, previous):
  26
+    SPECIAL_CHARS = ('a', 'A', 'b', 'B', 'd', 'D', 'f', 'F', 'g', 'G', 'h',
  27
+        'H', 'i', 'I', 'j', 'l', 'L', 'm', 'M', 'n', 'N', 'O', 'P', 'r',
  28
+        's', 'S', 't', 'T', 'U', 'w', 'W', 'y', 'Y', 'z', 'Z')
  29
+    FORMAT_STR_MAP = ( # not using a dict, because we have to apply formats in order
  30
+        ('dd', 'd'),
  31
+        ('d', 'j'),
  32
+        ('MMMM', 'F'),
  33
+        ('MMM', 'M'),
  34
+        ('MM', 'm'),
  35
+        ('M', 'n'),
  36
+        ('yyyy', 'Y'),
  37
+        ('yy', 'y'),
  38
+        ('y', 'Y'),
  39
+        ('hh', 'h'),
  40
+        ('h', 'g'),
  41
+        ('HH', 'H'),
  42
+        ('H', 'G'),
  43
+        ('mm', 'i'),
  44
+        ('ss', 's'),
  45
+        ('a', 'A'),
  46
+        ('LLLL', 'F'),
  47
+    )
  48
+    if len(nodes):
  49
+        original = nodes[0].text
  50
+        result = ''
  51
+        for cnt, segment in enumerate(original.split("'")):
  52
+            if cnt % 2:
  53
+                for char in SPECIAL_CHARS:
  54
+                    segment = segment.replace(char, '\\%s' % char)
  55
+                result += segment
  56
+            else:
  57
+                while segment:
  58
+                    found = False
  59
+                    for src, dst in FORMAT_STR_MAP:
  60
+                        if segment[0:len(src)] == src:
  61
+                            result += dst
  62
+                            segment = segment[len(src):]
  63
+                            found = True
  64
+                            break
  65
+                    if not found:
  66
+                        result += segment[0]
  67
+                        segment = segment[1:]
  68
+
  69
+        return "'%s'" % result
  70
+    else:
  71
+        return None
  72
+
  73
+def datetime(nodes, name, locale, previous):
  74
+    result = None
  75
+    if len(nodes) and 'DATE_FORMAT' in previous and 'TIME_FORMAT' in previous:
  76
+        result = nodes[0].text
  77
+        result = result.replace('{0}', previous['TIME_FORMAT'][1:-1])
  78
+        if name == 'SHORT_DATETIME_FORMAT' and 'SHORT_DATE_FORMAT' in previous:
  79
+            result = result.replace('{1}', previous['SHORT_DATE_FORMAT'][1:-1])
  80
+        else:
  81
+            result = result.replace('{1}', previous['DATE_FORMAT'][1:-1])
  82
+    if result:
  83
+        return "'%s'" % result
  84
+    else:
  85
+        return None
  86
+
  87
+def first_day(nodes, name, locale, previous):
  88
+    DAY_MAP = {
  89
+        'sun': '0',
  90
+        'mon': '1',
  91
+        'tue': '2',
  92
+        'wed': '3',
  93
+        'thu': '4',
  94
+        'fri': '5',
  95
+        'sat': '6',
  96
+    }
  97
+    for node in nodes:
  98
+        territories = node.attrib['territories']
  99
+        day = node.attrib['day']
  100
+        if territories == '001':
  101
+            result = day
  102
+        if locale.upper() in territories.split():
  103
+            result = day
  104
+            break
  105
+    return DAY_MAP.get(result)
  106
+
  107
+FORMATS_MAP = [
  108
+    {
  109
+        'name': 'DATE_FORMAT',
  110
+        'file': os.path.join('common', 'main', '%(locale)s.xml'),
  111
+        'pattern': "/ldml/dates/calendars/calendar[@type='gregorian']/dateFormats/dateFormatLength[@type='long']/dateFormat/pattern",
  112
+        'conversion': convert_time,
  113
+    },
  114
+    {
  115
+        'name': 'TIME_FORMAT',
  116
+        'file': os.path.join('common', 'main', '%(locale)s.xml'),
  117
+        'pattern': "/ldml/dates/calendars/calendar[@type='gregorian']/timeFormats/timeFormatLength[@type='medium']/timeFormat/pattern",
  118
+        'conversion': convert_time,
  119
+    },
  120
+    {
  121
+        'name': 'DATETIME_FORMAT',
  122
+        'file': os.path.join('common', 'main', '%(locale)s.xml'),
  123
+        'pattern': "/ldml/dates/calendars/calendar[@type='gregorian']/dateTimeFormats/dateTimeFormatLength[@type='long']/dateTimeFormat/pattern",
  124
+        'conversion': datetime,
  125
+    },
  126
+    {
  127
+        'name': 'YEAR_MONTH_FORMAT',
  128
+        'file': os.path.join('common', 'main', '%(locale)s.xml'),
  129
+        'pattern': "/ldml/dates/calendars/calendar[@type='gregorian']/dateTimeFormats/availableFormats/dateFormatItem[@id='yMMMM']",
  130
+        'conversion': convert_time,
  131
+    },
  132
+    {
  133
+        'name': 'MONTH_DAY_FORMAT',