Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • hjalte1983 Friend
    #200255

    Hi, i’m stuck with a problem with the language switcher.
    I downloaded a language package for Mijoshop and as far as i can see it works fine, both Danish and English.

    But i would like to have the language switcher and was told the Joomla module could do that for me.

    As you can see its right now in languageswitcherload position. but doesn’t show correctly.

    I followed the Language Switcher Description guide with no luck.

    Please take a look

    Regards

    wingly Friend
    #544601

    @hjalte1983;

    Well you had 2 problems right there.. In order the language switcher to work properly you need not only to install the switcher correctly but you need to do Everything about the 2 languages correctly. So you had 2 mistakes

    1) http://prntscr.com/49pscx – You need to turn this plugin ON! – i already did

    2) You had only ONE menu with languages set to ALL that means he does not know what to do or what menu to show when you switch languages. You need to create ANother 2 menus and to show witch one is for english witch one for Danish (i already did it, check print screen) – http://prntscr.com/49psyw

    So from now on you work only with these 2 menus and you will assign everything only to them, the first Menu that is set to all Languages jsut ignore it, but do not delete it…

    p.s. you can go to the Languageswitcher module to play with the way it looks.

    hjalte1983 Friend
    #544605

    Thanks alot @wingly

    So i should be able to edit the menu eng ?

    i edited Kontakt Os to Contact Us. but doesn’t change ?

    wingly Friend
    #544608

    @hjalte1983;

    Is this your first multiple language site? well ok anyway, you now have to do everything TWICE! once for English and once for Denmark…

    In the menu eng – You make sure all the menus in there and the things they are linked to are in english
    in the menu dan – make sure everything there is written in denmark and is linked to denmark articels and contect

    Also when you create Categories and articles also create 2 times, one is set as LAnguage to English and Other is set as language to Denmark.

    Also about the Modules! one should be linked to the Denmark Content or Menu other to The english content or menu type e.t.c.

    p.s. my pleasure 🙂

    hjalte1983 Friend
    #544610

    Yes @wingly this is my first time with multiple language 🙂

    Yeah i understand that, but what am i doing wrong with the English menu then ?

    I made an english menu module..

    wingly Friend
    #544620

    @hjalte1983 ;

    Please read carefully my posts.. because you know again do a mistake as if you did not read them.

    I told you, in a multilingual site NOTHING has to be set as to ALL languages.. You need not just to DOuble the content.. and modulkes and menus and articles and categories. but you also need EACH of them to assign to CORRECT language. Otherwise why do you double the content..

    So look at your menus.. you change the In the menu eng – the Kontakt OS to Contacut Us – BUT the module is still Calling the OLD menu that is set to all LANGUAGES. now what you did? you created another Module that is linked to “menu eng” BUT you set this module to ALL languages.. this is mistake you need to set it to English language 🙂

    http://prntscr.com/49q4ws – Thi is wrong..

    So what i have done? I delete dthe MOduel that was linked to the old menu and created on for denmark and set it for Denmark.. and set english for english.

    This is how you do it.. http://prntscr.com/49q6av

    Also the position is not “Position 7” it is “MainNav” so i have createt 2 modules look:

    http://prntscr.com/49q77k

    Now last thing to do is to Dublicate the templates and make on for english and one for second language. Go to Extensions -> Template Manager and dublicate the Ja_decor and then name it english and show it’s menu that it has to have

    http://prntscr.com/49q7ms

    And then do the same for second language

    http://prntscr.com/49q7uz

    Now all is left is to show for each menu type what template they have to use by assigning them to everything about english menu

    http://prntscr.com/49q8is

    and do the same for second language but in coresponding template

    http://prntscr.com/49q8s4

    And here is the result – http://prntscr.com/49q8x1

    Note that the defualt one should remain the one that is not assigned to any language.. Just leave it that way. Now i have done everything so just work on the content 🙂 I made a small documentation and print screens for you to better understand how to work with joomla and T3 in order to achieve good wrork for multiple languages.

    Good luck!

    p.s. Check your site now, everythign changes as it should

    hjalte1983 Friend
    #544637

    wow @wingly thank you very very much this, you made it crystal clear for me :).

    Is there a way just to have the 2 flags next to each other without the dropdown menu and language text?

    So it would look something like this :


    1. flags
    wingly Friend
    #544640

    @hjalte1983;

    In order to do that, i need to change the CODE in php of a file. Cause it is the template syle that makes it look that way. You can PM me the FTP credentials and i’ll do it when i will have free time

    Ninja Lead Moderator
    #544645

    <em>@hjalte1983 439644 wrote:</em><blockquote>wow @wingly thank you very very much this, you made it crystal clear for me :).

    Is there a way just to have the 2 flags next to each other without the dropdown menu and language text?

    So it would look something like this :
    </blockquote>
    @hjalte1983: My solution will help you to solve it

    Open templates/ja_decor/css/custom.css file and add rule css style below

    @media (min-width: 992px) {
    .languageswitcherload .mod-languages ul {
    top: 14px;
    }
    .languageswitcherload .mod-languages ul:before {
    border-bottom: 0px solid #ffffff ;
    }
    }

    div.mod-languages ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -webkit-inline-box;
    top: 10px;
    }

    .languageswitcherload span {
    display: none;
    }

    .languageswitcherload .mod-languages > a {
    display: none;
    }

    .dropdown-menu{
    min-width:50px;
    }

    .dropdown-menu > li > a {
    padding: 5px 5px;
    }

    Let me know if it helps

    wingly Friend
    #544646

    @ninja Lead;

    I implement your css, works good; Thank you!

    hjalte1983 Friend
    #544647

    Wow , thanks alot guys!

    hjalte1983 Friend
    #544772

    Hi @wingly i noticed the category menu out to the left is somehow responding to the default main menu.
    If you press english and then press a category it goes back to danish ( default ) main menu.

    Any idea on how i can fix this?

    wingly Friend
    #544983

    @hjalte1983;

    As i have told you you have to double everything! 🙂 The mijoshop.. is based on Store->Categories->Products; So it means you need to have a store for Denmark and Other store for English. Currently you have only one for Denmark. Create another one for English and in DEnmark Menu assign to denmark categories in English menu Assign to english categories.

    http://prntscr.com/4adc41

    Cheers 😉

    hjalte1983 Friend
    #545047

    @wingly somehow i was expecting you would say, that i had to double everything 🙂
    But i was uncertain about the mijoshop, because there is already a danish / english tab for everything, so was just expecting it wasn’t necessary to make two shops.

    But i’ll try that when all the products are created.

    Thanks again.


    1. language
    wingly Friend
    #545048

    @hjalte1983;

    If it will still not work, let meknow and i’ll do it when i’ll have free time.

Viewing 15 posts - 1 through 15 (of 24 total)

This topic contains 24 replies, has 4 voices, and was last updated by  hjalte1983 10 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum