Added Colombian Spanish as new available language

Refs #25815.
This commit is contained in:
Claude Paroz 2015-11-25 20:42:53 +01:00
parent 867faeda9e
commit ff0dac9666
8 changed files with 1224 additions and 0 deletions

View File

@ -68,6 +68,7 @@ LANGUAGES = [
('eo', gettext_noop('Esperanto')),
('es', gettext_noop('Spanish')),
('es-ar', gettext_noop('Argentinian Spanish')),
('es-co', gettext_noop('Colombian Spanish')),
('es-mx', gettext_noop('Mexican Spanish')),
('es-ni', gettext_noop('Nicaraguan Spanish')),
('es-ve', gettext_noop('Venezuelan Spanish')),

View File

@ -137,6 +137,12 @@ LANG_INFO = {
'name': 'Argentinian Spanish',
'name_local': 'español de Argentina',
},
'es-co': {
'bidi': False,
'code': 'es-co',
'name': 'Colombian Spanish',
'name_local': 'español de Colombia',
},
'es-mx': {
'bidi': False,
'code': 'es-mx',

View File

@ -97,6 +97,10 @@ msgstr ""
msgid "Argentinian Spanish"
msgstr ""
#: conf/global_settings.py:72
msgid "Colombian Spanish"
msgstr ""
#: conf/global_settings.py:72
msgid "Mexican Spanish"
msgstr ""

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

View 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

View File

@ -410,6 +410,8 @@ Internationalization
* :ttag:`blocktrans` supports assigning its output to a variable using
``asvar``.
* A new language is available: Colombian Spanish.
Management Commands
^^^^^^^^^^^^^^^^^^^