- Posts: 73
COMMUNITY FORUM
K2 on multilanguage sites
- Filip Nikitovic
- Topic Author
- Offline
- Senior Member
i have multilanguage site,in german and english.
I would like to make a blog using K2.
Im testing it at the moment but I cant manage to set it for two diferent laguages.
Can You please help?
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Please Log in or Create an account to join the conversation.
- Filip Nikitovic
- Topic Author
- Offline
- Senior Member
- Posts: 73
Im not using Joomfish, Im using built in Joomla language plug-in and I made pages for both languages separately.
I will be doing same with blog,I will create blog post in english and translate it my self to german for german blog.
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
In the menu you can select the Language for each menu item which would appear in the frontend depending on the language selection.
Please Log in or Create an account to join the conversation.
- Filip Nikitovic
- Topic Author
- Offline
- Senior Member
- Posts: 73
So you actually write one item and assign it to English and then create another item and assign it to German.
Yes thats right.
In the menu you can select the Language for each menu item which would appear in the frontend depending on the language selection.
Sorry,are you still talking about Joomla or You are now talking about K2 item?
Becouse I created K2 categorie and item, and selected german language. (image1 and image2)
Attachment not found
Attachment not found
And I created Joomla menu item,for menu item type I selected K2 categories and selected german language.(image3)
Attachment not found
When I open that page in front end text is still in english (image4)
Attachment not found
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
- Posts: 8743
Assuming that the item I see is indeed the correct one and the K2 elements are the ones that do not change I have to ask: Have you installed the K2 translation pack for German?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Filip Nikitovic
- Topic Author
- Offline
- Senior Member
- Posts: 73
Is that normal?
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Please Log in or Create an account to join the conversation.
- Filip Nikitovic
- Topic Author
- Offline
- Senior Member
- Posts: 73
I mean everything is ok.
German pages are in german and english pages are in english.
Im asking about facebook like button on german page ,it writes "like" in english.
Is that normal?
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
There is a way you could change that depending on the language but it would require some modification to the item.php file in your override (templates/yourTemplate/html/com_k2/default/item.php).
Locate the facebook button and make an if statement to check the language. If it is English, leave the default else replace in the script block the '//connect.facebook.net/en_US/all.js'; with '//connect.facebook.net/de_DE/all.js';
Please Log in or Create an account to join the conversation.