Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15620

Avatar gallery can be unusable on multilingual boards, unless people use the board default language

XMLWordPrintable

      Consider a board with several installed languages (at least two). The administrator has to define a default language for the board (for the example, say it's 'British English').

      In that board, the administrator also enables the avatar gallery (disabled by default) and all avatars are located in the root of avatar gallery path (such as /images/avatars/gallery) so that there is no avatar category.

      Regardless the user preferences, the dropdown for avatar category displays the same word ('None' if English is the default language). The problem is the following : if you use an alternative language (not the board default language defined by admin), the avatar gallery feature simply doesn't work. If you select an avatar, the link associated to your profile becomes incorrect (/images/avatars/gallery/None/avatar_chosen.jpg instead of /images/avatars/gallery/avatar_chosen.jpg), resulting an empty avatar.

      If the admin changes the default language (and then purges the cache), the bug will be reproduced for others language (except the new default one).

        1. alternative language.png
          375 kB
          Big Monstro
        2. default board language.png
          465 kB
          Big Monstro

            nicofuma nicofuma
            Big Monstro Big Monstro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: