diff --git a/docs/_includes/nav/examples.html b/docs/_includes/nav/examples.html index c2e2b301..c7bef5ad 100644 --- a/docs/_includes/nav/examples.html +++ b/docs/_includes/nav/examples.html @@ -48,18 +48,22 @@
  • Custom matcher
  • -
  • - Diacritics support -
  • -
  • - Multiple languages -
  • Theme support
  • - RTL support -
  • + Localization, RTL and diacritics support + Back to top diff --git a/docs/examples.html b/docs/examples.html index 46b5f5fc..aa51b0f8 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -715,73 +715,6 @@ $.fn.select2.amd.require(['select2/compat/matcher'], function (oldMatcher) { -
    -

    Diacritics support

    - -

    - Select2's default matcher will ignore diacritics, making it easier for - users to filter results in international selects. Type "aero" into the - select below. -

    - -
    -

    - -

    -
    - -
    
    -
    -
    -
    -      
    - -
    -

    Multiple languages

    - -

    - Select2 supports displaying the messages in different languages, as well - as providing your own - custom messages - that can be displayed. -

    - -

    - The language does not have to be defined when Select2 is being - initialized, but instead can be defined in the [lang] - attribute of any parent elements as [lang="es"]. -

    - -
    -

    - -

    -
    - -
    
    -
    -
    -
    -      
    -

    Theme support

    @@ -822,6 +755,40 @@ $(".js-example-theme-multiple").select2({
    +

    + Localization, RTL and diacritics support +

    + +

    Multiple languages

    + +

    + Select2 supports displaying the messages in different languages, as well + as providing your own + custom messages + that can be displayed. +

    + +

    + The language does not have to be defined when Select2 is being + initialized, but instead can be defined in the [lang] + attribute of any parent elements as [lang="es"]. +

    + +
    +

    + +

    +
    + +
    
    +
    +
    +
             

    RTL support

    @@ -842,6 +809,37 @@ $(".js-example-theme-multiple").select2({ $(".js-example-rtl").select2({ dir: "rtl" }); + + +

    Diacritics support

    + +

    + Select2's default matcher will ignore diacritics, making it easier for + users to filter results in international selects. Type "aero" into the + select below. +

    + +
    +

    + +

    +
    + +
    
    +
    +