class documentation

Return the selected language catalog as a JSON object. Receive the same parameters as JavaScriptCatalog and return a response with a JSON object of the following format: { "catalog": { # Translations catalog }, "formats": { # Language formats for date, time, etc. }, "plural": '...' # Expression for plural forms, or null. }

Method render_to_response Undocumented

Inherited from JavaScriptCatalog:

Method get Undocumented
Method get_catalog Undocumented
Method get_context_data Undocumented
Method get_paths Undocumented
Method get_plural Undocumented
Class Variable domain Undocumented
Class Variable packages Undocumented
Instance Variable translation Undocumented
Property _num_plurals Return the number of plurals for this catalog language, or 2 if no plural string is available.
Property _plural_string Return the plural string (including nplurals) for this catalog language, or None if no plural string is available.

Inherited from View (via JavaScriptCatalog):

Method __init__ Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
Method as_view Main entry point for a request-response process.
Method dispatch Undocumented
Method http_method_not_allowed Undocumented
Method options Handle responding to requests for the OPTIONS HTTP verb.
Method setup Initialize attributes shared by all view methods.
Class Variable http_method_names Undocumented
Instance Variable args Undocumented
Instance Variable head Undocumented
Instance Variable kwargs Undocumented
Instance Variable request Undocumented
Property view_is_async Undocumented
Method _allowed_methods Undocumented
def render_to_response(self, context, **response_kwargs): (source)