Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.9
    • Fix Version/s: 3.1.0-b3
    • Component/s: Language pack
    • Labels:
      None

      Description

      RFC Topic
      Dicussion Topic

      Guest users should be able to change the board's displayed language (for their session). Ideally, this change would involve a dropdown box containing a list of installed language packs in the forum header, which would append the language to the url (i.e. "?lang=xx"). This way users who do not know the board's default language and who are not familiar with phpBB's default interface (or even with the interface of a style that is different from (pro/sub)silver) are able to change the language to their own (if available).

      This shouldn't be too big of a change, simply check the URL to see if $_GET['lang'] is present and whether or not the chosen language is available for use, and if so, override the board's default language. Of course this would need to also only change the language for the current user and only for the current session.

      Perhaps adding a column on the sessions table?

        Issue Links

          Activity

          Hide
          raykai raykai added a comment -

          i dont see why this status is Fixed as in 3.1.9 there is no way of using ?lang=xx

          im all so in need of this.

          Show
          raykai raykai added a comment - i dont see why this status is Fixed as in 3.1.9 there is no way of using ?lang=xx im all so in need of this.
          Hide
          DavidIQ David Colón added a comment - - edited

          That would be because the pull request submitted and merged on github is referencing the wrong ticket number.

          However this is supposed to work for guests. Are you saying that for guests the language override doesn't work?

          Show
          DavidIQ David Colón added a comment - - edited That would be because the pull request submitted and merged on github is referencing the wrong ticket number. However this is supposed to work for guests. Are you saying that for guests the language override doesn't work?
          Hide
          VSE Matt Friedman added a comment -

          This already works as it should. This was worked out with Naderman a long time ago (before 3.1 was even released as I recall).

          It's only for guests, because obviously users can choose a language in their preferences. And it's language=xx (not lang, because that broke registration as lang is a posted form variable)

          Ticket should be closed. The related tickets listed dealt with this.

          Show
          VSE Matt Friedman added a comment - This already works as it should. This was worked out with Naderman a long time ago (before 3.1 was even released as I recall). It's only for guests, because obviously users can choose a language in their preferences. And it's language=xx (not lang, because that broke registration as lang is a posted form variable) Ticket should be closed. The related tickets listed dealt with this.
          Hide
          DavidIQ David Colón added a comment -

          Thought so.

          Show
          DavidIQ David Colón added a comment - Thought so.
          Hide
          raykai raykai added a comment - - edited

          ok seams to be working after flushing cookies thx alot

          Show
          raykai raykai added a comment - - edited ok seams to be working after flushing cookies thx alot
          Hide
          raykai raykai added a comment -

          on an other note it is not going to work if the forum is Disable using Disable board option.

          the ui for guest stays in the default forum language even if you add language=xx

          should i open a new ticket for this ?

          Show
          raykai raykai added a comment - on an other note it is not going to work if the forum is Disable using Disable board option. the ui for guest stays in the default forum language even if you add language=xx should i open a new ticket for this ?

            People

            • Assignee:
              naderman Nils Adermann
              Reporter:
              imkingdavid David King
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development