Commit 7536f63b authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #14768 -- Added an es_MX locale and initial translation. Thanks to...

Fixed #14768 -- Added an es_MX locale and initial translation. Thanks to Alonso Bautista Villalobos and the rest of the Mexican translation team.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent accee396
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -55,6 +55,7 @@ LANGUAGES = (
    ('en-gb', gettext_noop('British English')),
    ('es', gettext_noop('Spanish')),
    ('es-ar', gettext_noop('Argentinian Spanish')),
    ('es-mx', gettext_noop('Mexican Spanish')),
    ('et', gettext_noop('Estonian')),
    ('eu', gettext_noop('Basque')),
    ('fa', gettext_noop('Persian')),
+14.9 KiB

File added.

No diff preview for this file type.

+1050 −0

File added.

Preview size limit exceeded, changes collapsed.

+0 −0

Empty file added.

+30 −0
Original line number Diff line number Diff line
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#

DATE_FORMAT = r'j \de F \de Y'
TIME_FORMAT = 'H:i:s'
DATETIME_FORMAT = r'j \de F \de Y \a \l\a\s H:i'
YEAR_MONTH_FORMAT = r'F \de Y'
MONTH_DAY_FORMAT = r'j \de F'
SHORT_DATE_FORMAT = 'd/m/Y'
SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
FIRST_DAY_OF_WEEK = 1 			# Monday: ISO 8601 
DATE_INPUT_FORMATS = (
    '%d/%m/%Y', '%d/%m/%y',            	# '25/10/2006', '25/10/06'
    '%Y%m%d',                          	# '20061025'

)
TIME_INPUT_FORMATS = (
    '%H:%M:%S', '%H:%M',		# '14:30:59', '14:30'
)
DATETIME_INPUT_FORMATS = (
    '%d/%m/%Y %H:%M:%S',
    '%d/%m/%Y %H:%M',
    '%d/%m/%y %H:%M:%S',
    '%d/%m/%y %H:%M',
)
DECIMAL_SEPARATOR = '.' 		# ',' is also official (less common): NOM-008-SCFI-2002
THOUSAND_SEPARATOR = ' '		# white space
NUMBER_GROUPING = 3
Loading