Search code examples
pythondjangocontent-management-systemdjango-cms

Multi Language DjangoCMS


I want use multi language in my project . I had install cms app core . But this app only English language. But I want multi language when I choose option . So I have to create anorther app or create new template or anything ? . I don't know how to do it . Let me know the solution

enter image description here


Solution

  • You need to create different apps for multi languages. To use that, type this in your settings.py

    from django.utils.translation import gettext_lazy as _
    
    LANGUAGES = [
        ('de', _('German')),
        ('en', _('English')),
    ]
    

    you can use as much languages as you want.