• Threads
  • Categories
  • Users
  • Documentation
  • GitHub
  • Discord
  • forum
  • group
  • search
  1. Threads
  2. Feedback, Ideas and Suggestions
chevron_left Feedback, Ideas and Suggestions

Dynamic i18n setting

  • forum 3 replies
  • last reply by rafalp Feb. 4, 2020
  • Last
  • 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 1480 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 1480 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.
  • Documentation
  • GitHub
  • Discord
  • Terms of service
  • Privacy policy
powered by misago