- Posts: 1
COMMUNITY FORUM
[Solved]K2 language not working
- max
-
- Offline
- New Member
K2_CATEGORY_ADDED_IN_THE_LIST="La categoria \\"_QQ_"CATEGORY_NAME_HERE"_QQ\\" è già nella lista."
K2_CATEGORY_ADDED_IN_THE_LIST="La categoria \\"_QQ_"CATEGORY_NAME_HERE"_QQ_\\" è già nella lista."
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Gianluca
-
- Offline
- Junior Member
- Posts: 21
K2_CATEGORY_ADDED_IN_THE_LIST="La categoria \\"_QQ_"CATEGORY_NAME_HERE"_QQ\\" è già nella lista."
I don't know how it should be, just fixed my website removing all the "\\" in the ini file. If you can give me the correct format i will correct it in the transifex.
Thank you
EDIT: also, in the K2 download area, there are both "italian" and "italian (Italy)". Only the second one works because it has the corret tag it-IT, the first one with only "it" just don't work.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
In any case, the use of _QQ_ is deprecated. Compare the strings with their English equivalents.
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
-
Topic Author
- Offline
- Premium Member
- Posts: 140
$strings = @parse_ini_file($fileName, true, INI_SCANNER_RAW);
Does anyone know how to fix this issue? I have installed the K2 pack, and the Dutch language pack in Joomla but it doesn't change the language in the K2 component. The previous hack from Krikor worked very well but unfortunately that does not work anymore.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
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
-
Topic Author
- Offline
- Premium Member
- Posts: 140
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
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
-
Topic Author
- Offline
- Premium Member
- Posts: 140
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
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
-
Topic Author
- Offline
- Premium Member
- Posts: 140
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
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
-
Topic Author
- Offline
- Premium Member
- Posts: 140
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.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
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
-
Topic Author
- Offline
- Premium Member
- Posts: 140
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
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
-
Topic Author
- Offline
- Premium Member
- Posts: 140
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.
- Gabri
-
- Offline
- New Member
- Posts: 2
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.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Gabri
-
- Offline
- New Member
- Posts: 2
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.