Permalink
Browse files

[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...
1 parent c52ae07 commit 9dfe9f072bfac9f7716ff3a4eebe6171bc75b305 @datapythonista datapythonista committed Aug 2, 2009
Showing with 936 additions and 21 deletions.
  1. 0 django/conf/locale/ar/__init__.py
  2. +14 −0 django/conf/locale/ar/formats.py
  3. 0 django/conf/locale/bg/__init__.py
  4. +14 −0 django/conf/locale/bg/formats.py
  5. 0 django/conf/locale/bn/__init__.py
  6. +14 −0 django/conf/locale/bn/formats.py
  7. +6 −10 django/conf/locale/ca/formats.py
  8. 0 django/conf/locale/cs/__init__.py
  9. +14 −0 django/conf/locale/cs/formats.py
  10. 0 django/conf/locale/cy/__init__.py
  11. +14 −0 django/conf/locale/cy/formats.py
  12. 0 django/conf/locale/da/__init__.py
  13. +14 −0 django/conf/locale/da/formats.py
  14. 0 django/conf/locale/de/__init__.py
  15. +14 −0 django/conf/locale/de/formats.py
  16. 0 django/conf/locale/el/__init__.py
  17. +14 −0 django/conf/locale/el/formats.py
  18. +7 −11 django/conf/locale/en/formats.py
  19. 0 django/conf/locale/es/__init__.py
  20. +14 −0 django/conf/locale/es/formats.py
  21. 0 django/conf/locale/es_AR/__init__.py
  22. +14 −0 django/conf/locale/es_AR/formats.py
  23. 0 django/conf/locale/et/__init__.py
  24. +14 −0 django/conf/locale/et/formats.py
  25. 0 django/conf/locale/eu/__init__.py
  26. +14 −0 django/conf/locale/eu/formats.py
  27. 0 django/conf/locale/fa/__init__.py
  28. +14 −0 django/conf/locale/fa/formats.py
  29. 0 django/conf/locale/fi/__init__.py
  30. +14 −0 django/conf/locale/fi/formats.py
  31. 0 django/conf/locale/fr/__init__.py
  32. +14 −0 django/conf/locale/fr/formats.py
  33. 0 django/conf/locale/ga/__init__.py
  34. +14 −0 django/conf/locale/ga/formats.py
  35. 0 django/conf/locale/gl/__init__.py
  36. +14 −0 django/conf/locale/gl/formats.py
  37. 0 django/conf/locale/he/__init__.py
  38. +14 −0 django/conf/locale/he/formats.py
  39. 0 django/conf/locale/hi/__init__.py
  40. +14 −0 django/conf/locale/hi/formats.py
  41. 0 django/conf/locale/hr/__init__.py
  42. +14 −0 django/conf/locale/hr/formats.py
  43. 0 django/conf/locale/hu/__init__.py
  44. +14 −0 django/conf/locale/hu/formats.py
  45. 0 django/conf/locale/is/__init__.py
  46. +14 −0 django/conf/locale/is/formats.py
  47. 0 django/conf/locale/it/__init__.py
  48. +14 −0 django/conf/locale/it/formats.py
  49. 0 django/conf/locale/ja/__init__.py
  50. +14 −0 django/conf/locale/ja/formats.py
  51. 0 django/conf/locale/ka/__init__.py
  52. +14 −0 django/conf/locale/ka/formats.py
  53. 0 django/conf/locale/km/__init__.py
  54. +14 −0 django/conf/locale/km/formats.py
  55. 0 django/conf/locale/kn/__init__.py
  56. +14 −0 django/conf/locale/kn/formats.py
  57. 0 django/conf/locale/ko/__init__.py
  58. +14 −0 django/conf/locale/ko/formats.py
  59. 0 django/conf/locale/lt/__init__.py
  60. +14 −0 django/conf/locale/lt/formats.py
  61. 0 django/conf/locale/lv/__init__.py
  62. +14 −0 django/conf/locale/lv/formats.py
  63. 0 django/conf/locale/mk/__init__.py
  64. +14 −0 django/conf/locale/mk/formats.py
  65. 0 django/conf/locale/nl/__init__.py
  66. +14 −0 django/conf/locale/nl/formats.py
  67. 0 django/conf/locale/no/__init__.py
  68. +14 −0 django/conf/locale/no/formats.py
  69. 0 django/conf/locale/pl/__init__.py
  70. +14 −0 django/conf/locale/pl/formats.py
  71. 0 django/conf/locale/pt/__init__.py
  72. +14 −0 django/conf/locale/pt/formats.py
  73. 0 django/conf/locale/pt_BR/__init__.py
  74. +14 −0 django/conf/locale/pt_BR/formats.py
  75. 0 django/conf/locale/ro/__init__.py
  76. +14 −0 django/conf/locale/ro/formats.py
  77. 0 django/conf/locale/ru/__init__.py
  78. +14 −0 django/conf/locale/ru/formats.py
  79. 0 django/conf/locale/sk/__init__.py
  80. +14 −0 django/conf/locale/sk/formats.py
  81. 0 django/conf/locale/sl/__init__.py
  82. +14 −0 django/conf/locale/sl/formats.py
  83. 0 django/conf/locale/sr/__init__.py
  84. +14 −0 django/conf/locale/sr/formats.py
  85. 0 django/conf/locale/sv/__init__.py
  86. +14 −0 django/conf/locale/sv/formats.py
  87. 0 django/conf/locale/ta/__init__.py
  88. +14 −0 django/conf/locale/ta/formats.py
  89. 0 django/conf/locale/te/__init__.py
  90. +14 −0 django/conf/locale/te/formats.py
  91. 0 django/conf/locale/th/__init__.py
  92. +14 −0 django/conf/locale/th/formats.py
  93. 0 django/conf/locale/tr/__init__.py
  94. +14 −0 django/conf/locale/tr/formats.py
  95. 0 django/conf/locale/uk/__init__.py
  96. +14 −0 django/conf/locale/uk/formats.py
  97. 0 django/conf/locale/zh_CN/__init__.py
  98. +14 −0 django/conf/locale/zh_CN/formats.py
  99. 0 django/conf/locale/zh_TW/__init__.py
  100. +14 −0 django/conf/locale/zh_TW/formats.py
  101. +237 −0 django/core/management/commands/importcldr.py
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j F، Y'
+TIME_FORMAT = 'g:i:s A'
+# DATETIME_FORMAT =
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j F'
+SHORT_DATE_FORMAT = 'd‏/m‏/Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = '.'
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'd F Y'
+TIME_FORMAT = 'H:i:s'
+# DATETIME_FORMAT =
+# YEAR_MONTH_FORMAT =
+MONTH_DAY_FORMAT = 'j F'
+SHORT_DATE_FORMAT = 'd.m.Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = ' '
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j F, Y'
+TIME_FORMAT = 'g:i:s A'
+# DATETIME_FORMAT =
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j F'
+SHORT_DATE_FORMAT = 'j M, Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = '.'
+THOUSAND_SEPARATOR = ','
+# NUMBER_GROUPING =
@@ -2,17 +2,13 @@
#
DATE_FORMAT = 'j \de F \de Y'
-DATETIME_FORMAT = 'j \de F \de Y \\a \le\s H:i'
-TIME_FORMAT = 'H:i'
-YEAR_MONTH_FORMAT = 'F \de Y'
+TIME_FORMAT = 'G:i:s'
+# DATETIME_FORMAT =
+YEAR_MONTH_FORMAT = 'F \de\l Y'
MONTH_DAY_FORMAT = 'j \de F'
-
SHORT_DATE_FORMAT = 'd/m/Y'
-SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
-
-FIRST_DAY_OF_WEEK = 1 # 0 means Sunday
-
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
DECIMAL_SEPARATOR = ','
THOUSAND_SEPARATOR = '.'
-NUMBER_GROUPING = 3
-
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j. F Y'
+TIME_FORMAT = 'G:i:s'
+# DATETIME_FORMAT =
+# YEAR_MONTH_FORMAT =
+MONTH_DAY_FORMAT = 'j. F'
+SHORT_DATE_FORMAT = 'j.n.Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = ' '
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'd F Y'
+TIME_FORMAT = 'g:i:s A'
+# DATETIME_FORMAT =
+# YEAR_MONTH_FORMAT =
+# MONTH_DAY_FORMAT =
+SHORT_DATE_FORMAT = 'j M Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+# DECIMAL_SEPARATOR =
+# THOUSAND_SEPARATOR =
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j. M Y'
+TIME_FORMAT = 'H.i.s'
+# DATETIME_FORMAT =
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j. F'
+SHORT_DATE_FORMAT = 'd/m/Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = '.'
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j. F Y'
+TIME_FORMAT = 'H:i:s'
+DATETIME_FORMAT = 'j. F Y H:i:s'
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j. F'
+SHORT_DATE_FORMAT = 'd.m.Y'
+SHORT_DATETIME_FORMAT = 'd.m.Y H:i:s'
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = '.'
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'd F Y'
+TIME_FORMAT = 'g:i:s A'
+# DATETIME_FORMAT =
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j F'
+SHORT_DATE_FORMAT = 'd M Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = '.'
+# NUMBER_GROUPING =
@@ -1,18 +1,14 @@
# This file is distributed under the same license as the Django package.
#
-DATE_FORMAT = 'N j, Y'
-DATETIME_FORMAT = 'N j, Y, P'
-TIME_FORMAT = 'P'
+DATE_FORMAT = 'F j, Y'
+TIME_FORMAT = 'g:i:s A'
+DATETIME_FORMAT = 'F j, Y g:i:s A'
YEAR_MONTH_FORMAT = 'F Y'
MONTH_DAY_FORMAT = 'F j'
-
-SHORT_DATE_FORMAT = 'm/d/Y'
-SHORT_DATETIME_FORMAT = 'm/d/Y h:i A'
-
-FIRST_DAY_OF_WEEK = 0 # 0 means Sunday
-
+SHORT_DATE_FORMAT = 'M j, Y'
+SHORT_DATETIME_FORMAT = 'M j, Y g:i:s A'
+# FIRST_DAY_OF_WEEK =
DECIMAL_SEPARATOR = '.'
THOUSAND_SEPARATOR = ','
-
-
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j \de F \de Y'
+TIME_FORMAT = 'H:i:s'
+# DATETIME_FORMAT =
+YEAR_MONTH_FORMAT = 'F \de Y'
+MONTH_DAY_FORMAT = 'j \de F'
+SHORT_DATE_FORMAT = 'd/m/Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = '.'
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+# DATE_FORMAT =
+# TIME_FORMAT =
+# DATETIME_FORMAT =
+# YEAR_MONTH_FORMAT =
+# MONTH_DAY_FORMAT =
+# SHORT_DATE_FORMAT =
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+# DECIMAL_SEPARATOR =
+# THOUSAND_SEPARATOR =
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j F Y'
+TIME_FORMAT = 'G:i:s'
+# DATETIME_FORMAT =
+# YEAR_MONTH_FORMAT =
+MONTH_DAY_FORMAT = 'j F'
+SHORT_DATE_FORMAT = 'd.m.Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = ' '
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'Yeko M\re\n d\a'
+TIME_FORMAT = 'H:i:s'
+# DATETIME_FORMAT =
+# YEAR_MONTH_FORMAT =
+# MONTH_DAY_FORMAT =
+SHORT_DATE_FORMAT = 'Y M j'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = '.'
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j F Y'
+TIME_FORMAT = 'G:i:s'
+DATETIME_FORMAT = 'j F Y، ساعت G:i:s'
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j F'
+SHORT_DATE_FORMAT = 'Y/n/j'
+SHORT_DATETIME_FORMAT = 'Y/n/j،‏ G:i:s'
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = '.'
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j. F Y'
+TIME_FORMAT = 'G.i.s'
+# DATETIME_FORMAT =
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j. F'
+SHORT_DATE_FORMAT = 'j.n.Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = ' '
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j F Y'
+TIME_FORMAT = 'H:i:s'
+DATETIME_FORMAT = 'j F Y H:i:s'
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j F'
+SHORT_DATE_FORMAT = 'j M Y'
+SHORT_DATETIME_FORMAT = 'j M Y H:i:s'
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = ' '
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j F Y'
+TIME_FORMAT = 'H:i:s'
+# DATETIME_FORMAT =
+# YEAR_MONTH_FORMAT =
+MONTH_DAY_FORMAT = 'j F'
+SHORT_DATE_FORMAT = 'j M Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = '.'
+THOUSAND_SEPARATOR = ','
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'd F Y'
+TIME_FORMAT = 'H:i:s'
+# DATETIME_FORMAT =
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j F'
+SHORT_DATE_FORMAT = 'j M, Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = '.'
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j בF Y'
+TIME_FORMAT = 'H:i:s'
+DATETIME_FORMAT = 'j בF Y H:i:s'
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j בF'
+SHORT_DATE_FORMAT = 'd/m/Y'
+SHORT_DATETIME_FORMAT = 'd/m/Y H:i:s'
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = '.'
+THOUSAND_SEPARATOR = ','
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j F Y'
+TIME_FORMAT = 'g:i:s A'
+# DATETIME_FORMAT =
+# YEAR_MONTH_FORMAT =
+MONTH_DAY_FORMAT = 'j F'
+SHORT_DATE_FORMAT = 'd-m-Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = '.'
+THOUSAND_SEPARATOR = ','
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j. F Y.'
+TIME_FORMAT = 'H:i:s'
+# DATETIME_FORMAT =
+YEAR_MONTH_FORMAT = 'F Y.'
+MONTH_DAY_FORMAT = 'j. F'
+SHORT_DATE_FORMAT = 'j.n.Y.'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = '.'
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'Y. F j.'
+TIME_FORMAT = 'G:i:s'
+# DATETIME_FORMAT =
+# YEAR_MONTH_FORMAT =
+MONTH_DAY_FORMAT = 'F j.'
+SHORT_DATE_FORMAT = 'Y.m.d.'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = ' '
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'j. F Y'
+TIME_FORMAT = 'H:i:s'
+# DATETIME_FORMAT =
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j. F'
+SHORT_DATE_FORMAT = 'j.n.Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = '.'
+# NUMBER_GROUPING =
No changes.
@@ -0,0 +1,14 @@
+# This file is distributed under the same license as the Django package.
+#
+
+DATE_FORMAT = 'd F Y'
+TIME_FORMAT = 'H.i.s'
+# DATETIME_FORMAT =
+YEAR_MONTH_FORMAT = 'F Y'
+MONTH_DAY_FORMAT = 'j F'
+SHORT_DATE_FORMAT = 'd/M/Y'
+# SHORT_DATETIME_FORMAT =
+# FIRST_DAY_OF_WEEK =
+DECIMAL_SEPARATOR = ','
+THOUSAND_SEPARATOR = '.'
+# NUMBER_GROUPING =
No changes.
Oops, something went wrong.

0 comments on commit 9dfe9f0

Please sign in to comment.