Using language switching for menus / categories / items

  • Published by
    George Papadakis
  • Last modified
    08 November 2013
  • Up to date
    Yes
  • Profile concerned
    End user, Webdesigner
  • Concerns
    Component
  • Since Version
    2.0
  • Voting
    Average rating
    3 votes
    • 1
    • 2
    • 3
    • 4
    • 5
  • Favourites
    442 Using language switching for menus / categories / items /documentation/tutorials-english/74-languages1/442-using-language-switching-for-menus-categories-items.html

There are 2 alternatives (you may suggest more to us via the forum):

 

--------------
Solution 1:
--------------

  1. Create a single MENU for all languages
    Inside it set ALL menu items (of both categories and items) to have language: "ALL"
  2. Categories:
    • make all your categories have language "ALL"
    • place items of various language inside the same category --regardless-- of their language
  3. creation translation associations of items from inside FLEXIContent item form

-- it will work, but the menu titles, and category titles will not be translated

-- you could use Falang to translate the menu items and category titles

 


--------------
Solution 2:
--------------

  1. Create 1 menu for every language that your site has
  2. Associate the menu items between their translations in different menus (for your categories and for some of your items)

 -- NOTE: you can still use (and you should use) item associations (of translations), inside the item form, just the menu item will have higher precedence

 -- NOTE: All other items of your site that do not have menu item, will be switchable because they have (translation) associations

 

ALSO please read this FAQ article:
Solving problems with language switching