Browse files

Removed last vestiges of references to technical messages from docume…


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent e127e17 commit 5f605678f073967a4a7bae5c1e9c59fbc0ae0620 @ramiro ramiro committed May 14, 2011
Showing with 2 additions and 31 deletions.
  1. +2 −8 docs/ref/utils.txt
  2. +0 −23 docs/topics/i18n/index.txt
@@ -229,12 +229,12 @@ SyndicationFeed
.. class:: SyndicationFeed
Base class for all syndication feeds. Subclasses should provide write().
.. method:: __init__(title, link, description, [language=None, author_email=None, author_name=None, author_link=None, subtitle=None, categories=None, feed_url=None, feed_copyright=None, feed_guid=None, ttl=None, **kwargs])
Initialize the feed with the given dictionary of metadata, which applies
to the entire feed.
Any extra keyword arguments you pass to ``__init__`` will be stored in
@@ -492,12 +492,6 @@ For a complete discussion on the usage of the following see the
* ``False`` = left-to-right layout
* ``True`` = right-to-left layout
-.. function:: get_date_formats()
- Checks whether translation files provide a translation for some technical
- message ID to store date and time formats. If it doesn't contain one, the
- formats provided in the settings will be used.
.. function:: get_language_from_request(request)
Analyzes the request to find what language the user wants the system to show.
@@ -88,26 +88,3 @@ way Django does translation:
that those are as small as possible.
* Django doesn't use ``xgettext`` alone. It uses Python wrappers around
``xgettext`` and ``msgfmt``. This is mostly for convenience.
-.. _technical-messages:
-Django technical message IDs
-.. versionchanged:: 1.2
- Starting with Django 1.2, technical message IDs are being replaced by :ref:`format-localization`
-Django uses technical message IDs to translate date formats and time formats.
-Technical message IDs are :term:`translation strings <translation string>` and
-can be easily recognized; they're all upper case. You don't translate the
-message ID as with other translation strings, you provide the correct local
-variant on the provided English value. The format is identical to the format
-strings used by the ``now`` template tag.
-For example, with ``DATETIME_FORMAT`` (or ``DATE_FORMAT`` or ``TIME_FORMAT``),
-this would be the format string that you want to use in your language. A Django
-contributor localizing it to Spanish probably would provide a ``"j N Y P"``
-"translation" for it in the relevant ``django.po`` file::
- msgstr "j N Y P"

0 comments on commit 5f60567

Please sign in to comment.