- Posts: 1
COMMUNITY FORUM
[Solved]K2 language not working
- max
- Offline
- New Member
Less
More
7 years 4 months ago - 7 years 4 months ago #162930
by max
Replied by max on topic [Solved]K2 language not working
If I did not understand, I had the same problem and solved it by correcting some apathetic errors in the Italian translation
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."
K2_CATEGORY_ADDED_IN_THE_LIST="La categoria \\"_QQ_"CATEGORY_NAME_HERE"_QQ_\\" è già nella lista."
Last edit: 7 years 4 months ago by max.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 4 months ago #162949
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic [Solved]K2 language not working
Max, I really appreciate your feedback :)
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
Less
More
- Posts: 21
6 years 1 month ago - 6 years 1 month ago #169544
by Gianluca
Replied by Gianluca on topic [Solved]K2 language not working
Sorry for replying to this old thread but there are still problems with Italan translations. It's not working because of some text errore like this:
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.
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.
Last edit: 6 years 1 month ago by Gianluca.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 1 month ago #169546
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic [Solved]K2 language not working
These teams were probably requested a long time ago. If you can take up on it-IT I can remove the other team. And of course, if you directly edit the language files on Transifex they are published on getk2.org after about an hour.
In any case, the use of _QQ_ is deprecated. Compare the strings with their English equivalents.
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
Less
More
- Posts: 140
6 years 1 week ago #170282
by Uzi
Replied by Uzi on topic [Solved]K2 language not working
Okay, this problem is back for me. After updating to the newest Joomla version 3.9 the core hack doesn't work anymore because the Language.php file works different now. I'm talking about hte core hack from Krikor:
$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.
$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
Less
More
- Posts: 6218
6 years 1 week ago #170294
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic [Solved]K2 language not working
You don't need any hacks. Just make sure that your language strings properly escape quotes. If a string is THIS="That", either use ' inside the string value or if you want to use " simply escape it with \".
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
Less
More
- Posts: 140
6 years 1 week ago #170296
by Uzi
Replied by Uzi on topic [Solved]K2 language not working
I don't know if you understand but the language files i have installed from the official source. For some strange reason the K2 component does not gets translated. So the core hack which Krikor provided earlier in this topic fixed that issue. It's not the translation files its fault, i don't know why it happens. Can you just provide an hack to make this work again?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 1 week ago #170314
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic [Solved]K2 language not working
There is no bug in the language packs or K2. Setup a demo site with just K2 and the language packs you want. Make sure you also have the related language packs for Joomla as well. Does the issue still occur for you?
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
Less
More
- Posts: 140
6 years 5 days ago #170346
by Uzi
Replied by Uzi on topic [Solved]K2 language not working
Yes this issue still occurs. I don't know why it is but that hack solved my problem. I'm asking if you or someone else has another hack to make it work again?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 5 days ago #170352
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic [Solved]K2 language not working
That was never a hack, it was a weird way to not use escaped double quotes, that's all. Like I said, try to reproduce the errors on a new Joomla site with 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.