Metadata-Version: 1.1
Name: django-langswitch
Version: 0.1.1
Summary: django app, that can be used on multilingual sites
Home-page: https://github.com/Marcon/django-langswitch
Author: Evgeniy Dolgikh
Author-email: marcon@atsy.org.ua
License: MIT License
Description: =====
        langswitch
        =====
        
        langswitch - is django app, that can be used on multilingual sites to allow users switch site language, and use some template tags for maintain multilang links etc.
        
        Quick start
        -----------
        
        1. Add "langswitch" to your INSTALLED_APPS setting like this::
        
            INSTALLED_APPS = (
                ...
                'langswitch',
            )
            
            and make sure that you have django.core.context_processors.request in TEMPLATE_CONTEXT_PROCESSORS:
            
            TEMPLATE_CONTEXT_PROCESSORS = (
            ...
            'django.core.context_processors.request',
            ...
            )
        
        2. Load langswitch in your template:
            {% load lang_switch %}
        
        3. Use template tag {% set_lang_from_path %} to activate translation, from url path (like /en/example/article/ for english language or /ru/example/article/ for russian)
        this tag also defines variable 'lang' in template context, so you can use it.
        
        4. Also you can just get variable 'lang' to template context with {% get_lang %} template tag
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
