Keyword

k2 mess up the html language tag

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Senior Member
More
1 month 4 days ago - 1 month 4 days ago #177685 by sohrab
k2 mess up the html language tag was created by sohrab
I would like to let you know that after two weeks of investigation and many failures I understood K2 messup the whole language tag system in Joomla.
If you have a multilingual website, and install K2, it will change the website to only each time get the default language tag.

since I use a rtl language on my website, I went through a lot to understand what is causing this error. And it is the new version 2.10.3 .

as soon as you install K2 this happens.
What could be the reason?
Anyone has any solution?

as you can see in the image. the page is in the fa-ir language but the html tag says it is en-gb and this is bad since it changes the whole rtl styles to ltr. and creates a mess.
Attachments:
Last edit: 1 month 4 days ago by sohrab.

Please Log in or Create an account to join the conversation.

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Senior Member
More
1 month 4 days ago #177686 by sohrab
Replied by sohrab on topic k2 mess up the html language tag
Here is a quick 60sec video on the problem:
https://i.imgur.com/r4kSlek.mp4

Please Log in or Create an account to join the conversation.

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Senior Member
More
1 month 4 days ago #177687 by sohrab
Replied by sohrab on topic k2 mess up the html language tag
I understood this file is needed on my home page :
K2HelperUtilities
which is in this directory:
..../components/com_k2/helpers/utilities.php

I don't know why my first page which has nothing to do with k2 right now is needing this file.

Please Log in or Create an account to join the conversation.

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Senior Member
More
1 month 4 days ago #177688 by sohrab
Replied by sohrab on topic k2 mess up the html language tag
I would seriously need help.

Please Log in or Create an account to join the conversation.

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Senior Member
More
1 month 3 days ago #177689 by sohrab
Replied by sohrab on topic k2 mess up the html language tag
found the cuplrit:
.../plugins/system/k2

the k2 system plugin mess up Joomla language.

Please Log in or Create an account to join the conversation.

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Senior Member
More
1 month 3 days ago #177690 by sohrab
Replied by sohrab on topic k2 mess up the html language tag
I replaced that file with an older version 2.8 and it is working alright now.
Hopefully we will find what is going on with the new version.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 9 hours ago #177745 by Fotis
Replied by Fotis on topic k2 mess up the html language tag
The issue is most likely related to plugin ordering. Try v2.10.4 (dev) from getk2.org/downloads/?f=K2_Development_Release.zip - it will probably resolve your issue. Getting a file from v2.8 as you said is a bad, bad option...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • sohrab
  • sohrab's Avatar Topic Author
  • Offline
  • Senior Member
More
3 weeks 4 hours ago #177785 by sohrab
Replied by sohrab on topic k2 mess up the html language tag
Thanks Fotis,

It was the weirdest problem I ever had. but it arised after I got hacked. I had to install a new fresh joomla and go into the pain of transfering all data to this new one and now I have the latest K2 and it works fine.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 2 hours ago #177787 by Fotis
Replied by Fotis on topic k2 mess up the html language tag
Great.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum