-
AuthorPosts
-
hjalte1983 Friend
hjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
August 5, 2014 at 8:16 am #200255Hi, 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 Friendwingly
- Join date:
- February 2014
- Posts:
- 310
- Downloads:
- 0
- Uploads:
- 87
- Thanks:
- 80
- Thanked:
- 83 times in 48 posts
August 5, 2014 at 8:36 am #544601Well 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 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
wingly Friendwingly
- Join date:
- February 2014
- Posts:
- 310
- Downloads:
- 0
- Uploads:
- 87
- Thanks:
- 80
- Thanked:
- 83 times in 48 posts
August 5, 2014 at 8:58 am #544608Is 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 contectAlso 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 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
wingly Friendwingly
- Join date:
- February 2014
- Posts:
- 310
- Downloads:
- 0
- Uploads:
- 87
- Thanks:
- 80
- Thanked:
- 83 times in 48 posts
August 5, 2014 at 9:46 am #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:
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
And then do the same for second language
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
and do the same for second language but in coresponding template
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
1 user says Thank You to wingly for this useful post
hjalte1983 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
August 5, 2014 at 10:58 am #544637wow @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 :
wingly Friendwingly
- Join date:
- February 2014
- Posts:
- 310
- Downloads:
- 0
- Uploads:
- 87
- Thanks:
- 80
- Thanked:
- 83 times in 48 posts
August 5, 2014 at 11:07 am #544640In 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 5, 2014 at 11:36 am #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 itOpen 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
2 users say Thank You to Ninja Lead for this useful post
wingly Friendwingly
- Join date:
- February 2014
- Posts:
- 310
- Downloads:
- 0
- Uploads:
- 87
- Thanks:
- 80
- Thanked:
- 83 times in 48 posts
hjalte1983 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
hjalte1983 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
wingly Friendwingly
- Join date:
- February 2014
- Posts:
- 310
- Downloads:
- 0
- Uploads:
- 87
- Thanks:
- 80
- Thanked:
- 83 times in 48 posts
August 7, 2014 at 5:55 am #544983As 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.
Cheers 😉
1 user says Thank You to wingly for this useful post
hjalte1983 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
August 7, 2014 at 1:21 pm #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.
wingly Friendwingly
- Join date:
- February 2014
- Posts:
- 310
- Downloads:
- 0
- Uploads:
- 87
- Thanks:
- 80
- Thanked:
- 83 times in 48 posts
August 7, 2014 at 1:36 pm #545048If it will still not work, let meknow and i’ll do it when i’ll have free time.
AuthorPostsThis topic contains 24 replies, has 4 voices, and was last updated by hjalte1983 10 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum