mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.9.x] Added Colombian Spanish as new available language
Refs #25815.
Backport of ff0dac9666 from master.
			
			
This commit is contained in:
		| @@ -69,6 +69,7 @@ LANGUAGES = [ | |||||||
|     ('eo', gettext_noop('Esperanto')), |     ('eo', gettext_noop('Esperanto')), | ||||||
|     ('es', gettext_noop('Spanish')), |     ('es', gettext_noop('Spanish')), | ||||||
|     ('es-ar', gettext_noop('Argentinian Spanish')), |     ('es-ar', gettext_noop('Argentinian Spanish')), | ||||||
|  |     ('es-co', gettext_noop('Colombian Spanish')), | ||||||
|     ('es-mx', gettext_noop('Mexican Spanish')), |     ('es-mx', gettext_noop('Mexican Spanish')), | ||||||
|     ('es-ni', gettext_noop('Nicaraguan Spanish')), |     ('es-ni', gettext_noop('Nicaraguan Spanish')), | ||||||
|     ('es-ve', gettext_noop('Venezuelan Spanish')), |     ('es-ve', gettext_noop('Venezuelan Spanish')), | ||||||
|   | |||||||
| @@ -137,6 +137,12 @@ LANG_INFO = { | |||||||
|         'name': 'Argentinian Spanish', |         'name': 'Argentinian Spanish', | ||||||
|         'name_local': 'español de Argentina', |         'name_local': 'español de Argentina', | ||||||
|     }, |     }, | ||||||
|  |     'es-co': { | ||||||
|  |         'bidi': False, | ||||||
|  |         'code': 'es-co', | ||||||
|  |         'name': 'Colombian Spanish', | ||||||
|  |         'name_local': 'español de Colombia', | ||||||
|  |     }, | ||||||
|     'es-mx': { |     'es-mx': { | ||||||
|         'bidi': False, |         'bidi': False, | ||||||
|         'code': 'es-mx', |         'code': 'es-mx', | ||||||
|   | |||||||
| @@ -97,6 +97,10 @@ msgstr "" | |||||||
| msgid "Argentinian Spanish" | msgid "Argentinian Spanish" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
|  | #: conf/global_settings.py:72 | ||||||
|  | msgid "Colombian Spanish" | ||||||
|  | msgstr "" | ||||||
|  |  | ||||||
| #: conf/global_settings.py:72 | #: conf/global_settings.py:72 | ||||||
| msgid "Mexican Spanish" | msgid "Mexican Spanish" | ||||||
| msgstr "" | msgstr "" | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								django/conf/locale/es_CO/LC_MESSAGES/django.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								django/conf/locale/es_CO/LC_MESSAGES/django.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										1182
									
								
								django/conf/locale/es_CO/LC_MESSAGES/django.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1182
									
								
								django/conf/locale/es_CO/LC_MESSAGES/django.po
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										0
									
								
								django/conf/locale/es_CO/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								django/conf/locale/es_CO/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										29
									
								
								django/conf/locale/es_CO/formats.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								django/conf/locale/es_CO/formats.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | |||||||
|  | # -*- encoding: utf-8 -*- | ||||||
|  | # This file is distributed under the same license as the Django package. | ||||||
|  | # | ||||||
|  | from __future__ import unicode_literals | ||||||
|  |  | ||||||
|  | DATE_FORMAT = r'j \d\e F \d\e Y' | ||||||
|  | TIME_FORMAT = 'H:i' | ||||||
|  | DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i' | ||||||
|  | YEAR_MONTH_FORMAT = r'F \d\e Y' | ||||||
|  | MONTH_DAY_FORMAT = r'j \d\e F' | ||||||
|  | SHORT_DATE_FORMAT = 'd/m/Y' | ||||||
|  | SHORT_DATETIME_FORMAT = 'd/m/Y H:i' | ||||||
|  | FIRST_DAY_OF_WEEK = 1 | ||||||
|  | DATE_INPUT_FORMATS = [ | ||||||
|  |     '%d/%m/%Y', '%d/%m/%y',  # '25/10/2006', '25/10/06' | ||||||
|  |     '%Y%m%d',                # '20061025' | ||||||
|  |  | ||||||
|  | ] | ||||||
|  | DATETIME_INPUT_FORMATS = [ | ||||||
|  |     '%d/%m/%Y %H:%M:%S', | ||||||
|  |     '%d/%m/%Y %H:%M:%S.%f', | ||||||
|  |     '%d/%m/%Y %H:%M', | ||||||
|  |     '%d/%m/%y %H:%M:%S', | ||||||
|  |     '%d/%m/%y %H:%M:%S.%f', | ||||||
|  |     '%d/%m/%y %H:%M', | ||||||
|  | ] | ||||||
|  | DECIMAL_SEPARATOR = ',' | ||||||
|  | THOUSAND_SEPARATOR = '.' | ||||||
|  | NUMBER_GROUPING = 3 | ||||||
| @@ -407,6 +407,8 @@ Internationalization | |||||||
| * :ttag:`blocktrans` supports assigning its output to a variable using | * :ttag:`blocktrans` supports assigning its output to a variable using | ||||||
|   ``asvar``. |   ``asvar``. | ||||||
|  |  | ||||||
|  | * A new language is available: Colombian Spanish. | ||||||
|  |  | ||||||
| Management Commands | Management Commands | ||||||
| ^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^ | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user