Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1320

Add a language selector to non-authenticated client pages if multiple languages are installed for the company

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 4.1.0-b1
    • Component/s: Client Interface
    • Labels:
      None

      Description

      Currently only the companies default language is displayed throughout non-authenticated client pages. If multiple languages are available for the company, display a language selector on non-authenticated client pages.

      More details to follow in terms of design/mockups.

      NEW

      After thinking about this and reviewing the comments, the language selector should appear in the upper right of the client area and be visible on all pages. This will either be in the upper-right most of the page, or within the navigation bar to the right on either side of the Login link. My preference is in the upper right above the navigation bar. Need to be sure that it doesn't interfere with the "Return to Staff Portal" link, or move that link.

      This should appear as a link with a menu, similar to bootstrap's drop down menu, and not a dropdown form.

      The selector should only appear if there is more than 1 language installed. By default, it would not appear because Blesta only ships with en_us.

      OLD

      Use the current footer markup if the language selector is not displayed, otherwise use the following markup:

      <div class="row footer">
      <hr>
      <div class="col-md-10 col-sm-9 col-xs-8">
      <p>Powered by <a href="http://www.blesta.com/">Blesta</a>, © Phillips Data, Inc.</p>
      </div>
      <div class="col-md-2 col-sm-3 col-xs-4 pull-right">
      <form>
      <select class="form-control">
      <option>English, USA</option>
      <option>English, UK</option>
      </select>
      </form>
      </div>
      </div>

      NOTE! The <hr> tag is moved up, directly below the row footer. This change can be made in both cases. If the language selector exists, then we have 2 divs, and the "Powered by" paragraph is no longer centered. It looks better aligned left when there is a drop down aligned right.

      This drop down only applies to non-authenticated client pages

        Issue Links

          Activity

            People

            • Assignee:
              jonathan Jonathan Reissmueller
              Reporter:
              admin Paul Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/Jul/17

                Agile