• Threads
  • Categories
  • Users
  • GitHub
  • Documentation
  • Discord
  • forum
  • group
  • search
  • chevron_right Threads
  • label Feedback

Does Misago support language switching?

raeuz
Nov. 5, 2018
chat_bubble_outline 4
  • link
    raeuz
    Members 14 posts
    Nov. 5, 2018, 10:31 a.m. Nov. 5, 2018, 10:31 a.m.
    link

    @rafalp ,

    I didn't find the language switch, users can choose different languages.

    Can you add this feature to Misago?

    raeuz likes this.

    favorite 1

  • link
    rafalp
    Project Lead 1637 posts
    Nov. 5, 2018, 1:52 p.m. Nov. 5, 2018, 1:52 p.m.
    link

    Hi,

    This is something I've been thinking for some time now, but I feel that proper different language support will be much more complex than just adding language picker to the interface ;)

    Ultimately Misago should let you run different languages under different paths, eg. / is in English and displays English categories, /pl/ is in Polish, and displays Polish categories.

  • link
    raeuz
    Members 14 posts
    Nov. 6, 2018, 3:36 a.m. Nov. 6, 2018, 3:36 a.m.
    link
    @rafalp has written:

    Hi,
    Ultimately Misago should let you run different languages under different paths, eg. / is in English and displays English categories, /pl/ is in Polish, and displays Polish categories.

    Hi @rafalp,

    How to add language picker?
    I tried to http://127.0.0.1:8000/zh/categories/ or http://127.0.0.1:8000/en/categories/, also tried to https://misago-project.org/pl/, but not works.

    rafalp has written:

    This is something I've been thinking for some time now, but I feel that proper different language support will be much more complex than just adding language picker to the interface ;)

    May be this link https://docs.djangoproject.com/en/2.1/topics/i18n/translation/#how-django-discovers-language-preference can help.

  • link
    raeuz
    Members 14 posts
    Nov. 7, 2018, 3:55 a.m. Nov. 7, 2018, 3:55 a.m.
    link

    @rafalp,

    About this feature, I found one website (chongliu.me) which you can refer to.

    This website base.html source code -github.com/KomeijiSatori/mysite/blob/f863ff0d257a02cc79c71e5a6997889cdd1bccdc/mysite/templates/mysite/base.html
    This website source code - github.com/KomeijiSatori/mysite/tree/f863ff0d257a02cc79c71e5a6997889cdd1bccdc

  • link
    rafalp
    Project Lead 1637 posts
    Nov. 7, 2018, 4:23 a.m. Nov. 7, 2018, 4:23 a.m.
    link
    @raeuz has written:

    I tried to http://127.0.0.1:8000/zh/categories/ or http://127.0.0.1:8000/en/categories/, also tried to https://misago-project.org/pl/, but not works.

    Those were propositions of how multilanguage sites could work with Misago.

    And thank you for advice concerning Django localizaitons - don't worry, I have quite an experience doing those ;)

There are no more posts in this thread.

  • This site uses cookies to gather statistical data for use in traffic analysis. Header photo by Joanna Malinowska.
  • GitHub
  • Documentation
  • Discord
  • Terms of service
  • Privacy policy
powered by misago