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

Dynamic i18n setting

JohnTheo
Feb. 2, 2020
chat_bubble_outline 3
  • link
    JohnTheo
    Members 8 posts
    Feb. 2, 2020, 4:52 p.m. Feb. 2, 2020, 4:52 p.m.
    link

    Is it possible to have a small "Language" select box top right on the navbar that allows user to select their own language?

  • link
    rafalp
    Project Lead 1637 posts
    Feb. 2, 2020, 7:55 p.m. Feb. 2, 2020, 7:55 p.m.
    link

    It could be implemented. I am guessing the issue is international communities with categories for different languages?

  • link
    JohnTheo
    Members 8 posts
    Feb. 3, 2020, 1:15 p.m. Feb. 3, 2020, 1:15 p.m.
    link
    @rafalp has written:

    It could be implemented. I am guessing the issue is international communities with categories for different languages?

    Yeah, exactly.
    Should I just implement it as a plugin or something? Not very familiar with the mechanism of changing the locale in Misago project though.

  • link
    rafalp
    Project Lead 1637 posts
    Feb. 4, 2020, 5:31 p.m. Feb. 4, 2020, 5:31 p.m.
    link

    I'm afraid this is not supported by plugin system :| One would have to create PR that adds language to user model, and language picker somewhere in the UI (eg. on user forum options page). Then, finally, Django middleware could be added that would active user language after they pass banned check.

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