Bug 14252: (followup) fix lang chooser for sublanguages
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sat, 23 May 2015 17:40:52 +0000 (14:40 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 23 Jun 2015 13:24:46 +0000 (10:24 -0300)
commit36e68aaaa989b913d0007740b6fa2162b223ace5
treeb5694b35690963d873aea6c6a9d7a8d7bdf02640
parent2845fb2423a24b2adde52a421f7a9e5d99bc36f7
Bug 14252: (followup) fix lang chooser for sublanguages

This quick fix disables sublanguages dropdown,
show all sublanguages on same level.

To test:
1) Apply both patches
2) Translate to have sublanguages (en-NZ, de-DE, de-CH)
3) Go to opac, confirm you can select any lang/sublang
4) Check on movil device

4th version.
Removed rfc4646 subtag on sublanguages, think it's cleaner.
Currently on master all translated languages/regions have
valid description ('en' at least)
Added language sort using rfc4646 subtag

Signed-off-by: Indranil Das Gupta <indradg@gmail.com>
Followup fixes the issue with lang group dropdowns. Works well
across standard desktop as well as mobile device with small screens
(checked on 4.3" / 4.7" / 5")

Works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc