Keyword

[Solved]K2 language not working

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 5 days ago #170353 by Uzi
Replied by Uzi on topic [Solved]K2 language not working
I don't understand what you are trying to achieve.. I have installations that currently are not working as is. New installations don't fix that. Hack or no hack, how can I make the Dutch language gets forced to load again, but now as it stands it just displays the English language. Which I don't want. I have a testinstallation where it also doesn't work. I don't care about new installations I care about the current ones.

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

More
6 years 5 days ago #170358 by JoomlaWorks
Replied by JoomlaWorks on topic [Solved]K2 language not working
The point of a clean installation is to verify where the problem is. Did you check if the Dutch language files actually contain anything? Transifex (from which the language files are autogenerated) may fail sometimes and result in empty language packs.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 4 days ago #170360 by Uzi
Replied by Uzi on topic [Solved]K2 language not working
Look. I have tried everything previously, and the previous "hack" did fix the issue. Now unfortunately Joomla changed the libraries code and now the same hack is not useable again. It results in PHP errors.

I am just asking if you or anyone else know a new line of code which make it work again. The language files are fine, it's just something in the installation itself why K2 doesn't want to load in the language. If you don't know I am better off asking it somewhere else. Because I previously had got the solution here I asked it here.

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

More
6 years 4 days ago #170361 by JoomlaWorks
Replied by JoomlaWorks on topic [Solved]K2 language not working
IT IS NOT A K2 THING. This is what I'm saying. The QQ thing was added by Andrew Eddie in Joomla 1.6 for whatever reason (my guess is to THEN make porting J1.5 language files to J1.6 easy).

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 4 days ago #170362 by Uzi
Replied by Uzi on topic [Solved]K2 language not working
Ok thanks. I will go to Joomla forums than.

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

More
6 years 4 days ago #170363 by JoomlaWorks
Replied by JoomlaWorks on topic [Solved]K2 language not working
If you sort it out, please let us know.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 1 day ago #170400 by Uzi
Replied by Uzi on topic [Solved]K2 language not working
Found the solution:

parseIniFile() in libraries/src/Language/LanguageHelper.php.

In this file is the method defined. So you can use the same hack Krikor did to make it work again.

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

More
5 years 11 months ago #170417 by Gabri
Replied by Gabri on topic [Solved]K2 language not working
Regarding italian translation that has the same problem, i confirm that's still related to _QQ_.
I cleaned the traslation file using the english version as model and now it's working fine.
But the one on getk2.org is still corrupted.

File Attachment:

File Name: it-IT.com_k2.zip
File Size:23 KB
Attachments:

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

More
5 years 11 months ago #170420 by JoomlaWorks
Replied by JoomlaWorks on topic [Solved]K2 language not working
Gabri, you may want to consider joining the Italian translation team here www.transifex.com/joomlaworks/k2/ and improving these strings you mentioned as they are no longer present in the source language files of K2.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
5 years 11 months ago #170429 by Gabri
Replied by Gabri on topic [Solved]K2 language not working
I just uploaded my updated file to transifex, but i saw that were already other correct translations in the history, for that file. Transifex seems to use an old version with the QQ problem.
Don't know now if it'll use my version for the translation package.

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


Powered by Kunena Forum