[Koha-bugs] [Bug 6563] New: Default OPAC language not set properly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 7 15:05:49 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6563

             Bug #: 6563
           Summary: Default OPAC language not set properly
    Classification: Unclassified
 Change sponsored?: Sponsored
           Product: Koha
           Version: rel_3_6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: I18N/L10N
        AssignedTo: ian.walls at bywatersolutions.com
        ReportedBy: ian.walls at bywatersolutions.com
         QAContact: koha-bugs at lists.koha-community.org


For libraries with multiple installed and enabled OPAC languages, the first
enabled language in the list of activated languages is selected as default, not
the primary language for the installation.

To reproduce:

1.  Install multiple OPAC languages
2.  Active one that is 'higher' on the list than your native install language
3.  Go to the OPAC, and see that that language, not your native language,
displays


Root of the problem:

Line 57 of opac/opac-main.pl references "opac-main.tmpl", which no longer
exists since the conversion to Template::Toolkit.  Changing this to
opac-main.tt fixes the issue.

Patch forthcoming.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list