1. Luke Plant
  2. django

Branches

attic/i18n

View source
attic/i18n
  • Contributors
    1. Loading...
Author Commit Message Date Builds
250+ commits behind default.
uber...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Move the original i18n branch into the attic.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged to [1054] of trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed documentation and message scanner for constant string translations
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: readded constant string translations, needed for template tags with string constants
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated unittests and fixed bugs in the tags, removed the old tags and fixed #719 (thx nesh)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated translation documentation for new syntax
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: rebuilt the .po and .mo files based on the new source
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: implemented the proposed syntax change to {% trans %} and {% blocktrans %}
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated sr translation. thx Petar.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed the LANGUAGES variable to contain language codes (instead of locale codes) and fixed a wrong language name
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Small update to [1057]
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Preliminary clean-up of docs/translation.txt in i18n branch
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated fr translation. thx Laurent.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated documentation and unittests for the new get_available_languages tag and the new switching view
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added get_available_languages tag and added a default view for switching languages (both from the django-dev posting of jacob)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added updated sr translation. thx nesh.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: removed debugging leftovers (thx. rjwittams)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated cs translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged to [1025] from trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added simplified chinese translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: startproject still did create the settings directory with admin.py setting - leftover from before the admin move. fixed.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated brazilian translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
fix for startproject requiring settings
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated italian translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: now really added the new language czech
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added new language czech
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed a typo in the language names
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added updated italian translations
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated french translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added sample dateformat i18n to the object_changelist template
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated all language files to new message IDs
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added missing translations of day names, month names and language selection
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged to [992] from trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged to [978] from trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: removed special casing for en and en-* - we now have an english translation file, so just handle en the same way as other languages
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed a bug that crept in with latest translation for new admin
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: reworked part of the translation loader to be cleaner, simpler and faster
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated .po files for new message locations
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: re-added lost translation hooks (dropped in the last big merge)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated french translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged to trunk [959]
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged up to [954] from trunk. contains the big load of admin reworking stuff from adrian.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added a note on DjangoContext vs. Context with regard to LANGUAGES and LANGUAGE_CODE
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: shortened a too-long german translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: django-admin.py forces english translation because of it's generated SQL stuff (like permission names)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
added french django translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added an empty translation file for language "en" as a startingpoint for translators
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged to [931] from trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added gl translation. thx fonso.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed a problem with the object history and lazy translations of field names
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added hint on order for locale middleware
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated translation doc to reflect the django_language and LANGUAGE_CODE format change
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: once again worked over the django_language parameter (cookie, get, post, session) format. It's now back to HTML format (en-us, not en_US)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added a lot more translations to the admin stuff, especially model related stuff
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged to [905] from trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed a bug with the i18n template tag that crept in with the last merge - some imports where lost.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added a load of translation hooks to validator error messages and predefined model help texts. And added german translations and prepared other languages for translation update.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added -a switch to make-messags.py to run xgettext on all messagefiles
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed handling of gettext_lazy - now it doesn't memoize function values any more
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added translation hooks to all validators
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: modified settings.txt to reflect LANGUAGE_CODE behaviour
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged to [897] from trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed settings and default settings files for i18n changes
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged to [885] in trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated translation documentation for gettext_lazy
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added gettext_lazy - lazy translation for stuff like model help text
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed a bug with Python 2.3 support (double encoding of stuff)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged to [873] from trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged up to r868
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged to r852
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed bug in the templateize function to turn templates into something grokable for xgettext
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed language code reporting - now the actually used language code is reported, not the requested language code (as before). Additionally explicit language codes requested in GET, P OST or otherwise are checked against availability, too.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: LANGUAGE_CODE in DjangoContext is now language-SUBLANGUAGE instead of language_SUBLANGUAGE (was introduced by [848])
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
changed layout of language stuff to be oriented after locale names, not language names (from accept-language header)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged r815:r843 from trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
added new brazilian language settings
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: corrected sublanguage handling (de-de now mapps to de, if de-de isn't present) in django.utils.translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added documentation on LOCALE_PATHS
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added a way to merge in some more locale paths via settings
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed projectpath discovery. Now the DJANGO_SETTINGS_MODULE environment variable is used to find the project base
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed translation resolving - now project translations are pulled in allways (if they exist)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added two additional unit tests for i18n (filter related)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added the translation step to the filter parser (the arg is now translated if it is _("..."))
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: enhanced the filter-argument-parser to parse _("") strings, too
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: clarified some points about app-specific translations
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added gettext_noop support to the xgettext call in make-messages.py
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed an import error (I really shouldn't make last-minute-changes)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed syntax error
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: made DjangoTranslations compatible with Python 2.3
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: I18NMiddleware now patches the Vary response header
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged r787:r814 from trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: again cleaned up make-messages.py - now the line numbers for templates will be correct.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: make-messages.py now correctly handles creation of new languages
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: made the make-messages.py script work much better by using msgmerge and msguniq and fixed the german translation file (mostly the header)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added support for the new DEFAULT_CHARSET setting in translators
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged r776:r786 from trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added russian translation and added patch for sr translation. thx dimas and petar.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added sr-translation patch from #65
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: make-messages now supports directory names with blanks in them
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added first take at spanish translation (thanks heimy!)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: merged r722:774 from trunk
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated the documentation for the new features
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
take django_language either from GET or POST (GET has preference if both are given)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added GET-support to language selection, added serbian translation file and added some convenience stuff to the DjangoContext - all from a patch by nesh on the list. Thanks nesh! References #65.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added preliminary .it translations. thanks C8N.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed a bug in one admin template and updated the german translations for the admin
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: changed all admin templates to use the new shorter {{ _(..) }} syntax for i18n strings.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: fixed a rather stupid bug in language discovery (sort descending by preference value instead ascending)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: i18n string resolution now does string interpolation against the context, too
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: changed resolve_variable and resolve_variable_with_filters to allways accept string constants and to accept i18n string constants with _(), too. That way the i18n tag isn't needed in simple cases.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: language en is now successfully recognized on accept-header parsing
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: switched ngettext to make use of the standard ngettext instead simulating via gettext
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: the i18n tag now supports gettext_noop. unittests updated.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: updated the documentation to list ngettext
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n now has support for ngettext and has unittests
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added a note on request.LANGUAGE_CODE to the i18n documentation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n: added a first shot at a documentation that tells about how to do translations with django.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
the i18n middleware now stores the chosen language in the request so that view code can know what language is chosen (for example to select the right content field from the model if your model supports multiple languages)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n template tag now accepts varibles with filters or strings. Variables with filters won't be pulled out for translation, of course, but will just run the result of the filter through the translation engine.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
added a gettext_noop function to django.utils.translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
fixed a missing i18n command in the password changing form
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
added more translations for the admin templates so that we can see how translated admin might look - references #65
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
made make-messages.py more intelligent with template scanning
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
-d isn't used at the moment
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
i18n patch - references #65
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Testing SVN branch commits
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Testing svn branch commit
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Created i18n branch.