Keyword

Impossible de traduire K2 en Français

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
6 years 1 month ago #171288 by Surfnature
Impossible de traduire K2 en Français was created by Surfnature
Bonjour,
Depuis plus d'un an je n'arrive plus du tout à avoir K2 en français sur les nouveaux site que j'installe, en général dès que j'ai installé le pack de langue FR rien ne se passe, mais si je vais sur le panneau de l'administration, tout est bien traduit mais dès que je clique sur un lien k2 tout redevient en Anglais!
Je précise que j'ai essayé de remplacer les fichiers Anglais par les fichiers Français en les renommant mais rien n'y fait...

Pour moi K2 est le composant le plus simple pour mes clients, si vous avez des idées...
Merci d'avance

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

More
6 years 1 month ago #171289 by JoomlaWorks
Replied by JoomlaWorks on topic Impossible de traduire K2 en Français
Have a look at this please: www.joomlaworks.net/blog/item/286-new-milestone-for-k2-translations-an-important-message-to-the-translation-teams

If the fr-FR language pack is not yet updated, simply download the related zip package, extract it, replace any "_QQ_" and \\"_QQ_" instances with a single quote ('), save the files and re-zip everything. Finally, install the new zip file into your site.

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

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

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
6 years 1 month ago - 6 years 1 month ago #171293 by Surfnature
Replied by Surfnature on topic Impossible de traduire K2 en Français
Everything is ok for the translate but now I can't save when I change something in K2 parameters, save button don't work !
Thanks a lot
Last edit: 6 years 1 month ago by Surfnature.

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

More
6 years 1 month ago #171300 by JoomlaWorks
Replied by JoomlaWorks on topic Impossible de traduire K2 en Français
Check for any JS errors in the K2 Settings page using your browser's console (in the dev tools). Also make sure that your replacements were correct and that there are no broken language strings.

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

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

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
6 years 1 month ago #171306 by Surfnature
Replied by Surfnature on topic Impossible de traduire K2 en Français
it's very difficult for me, but I found that if I debug Language: JROOT/administrator/language/fr-FR/fr-FR.com_k2.ini : error(s) in line(s) 34, 39, 124, 863, 864, 868, 969, 970
and I've got that with brower's console when I click on save on K2 settings:
SyntaxError: unexpected token: identifier
TypeError: o is null[En savoir plus]
submitform http://.../media/system/js/core.js?2ba8f17cbeb6087e7d72d82df023c911:1
submitbutton http://.../media/system/js/core.js?2ba8f17cbeb6087e7d72d82df023c911:1
onclick http://.../administrator/index.php?option=com_config&view=component&component=com_k2&path=&return=aHR0cDovL3M3Njk0MTE1MDMub25saW5laG9tZS5mci9hZG1pbmlzdHJhdG9yL2luZGV4LnBocD9vcHRpb249Y29tX2syJnZpZXc9aXRlbXM=:1

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

More
6 years 1 month ago #171308 by JoomlaWorks
Replied by JoomlaWorks on topic Impossible de traduire K2 en Français
Does the debugger specify where these errors occur? Additionally, can you paste here some of these lines exactly as they are on the .ini file?

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

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

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
6 years 1 month ago #171338 by Surfnature
Replied by Surfnature on topic Impossible de traduire K2 en Français
Just a trick, if I uninstall the language file everything works perfectly
The ini.files lines:
34 - K2_ADDITIONAL_CHAR_REPLACEMENTS_DESC="Définissez vos propres remplacements de caractères supplémentaires. Utilisez-le pour convertir les caractères accentués en non-accentué. La substitution de caractère doivent être définis par paires séparées par des virgules. Par exemple utiliser 'ä | A' pour convertir l'accent allemand '_QQ_'umlaut'_QQ_' par une simple lettre alpha."

39 - K2_ADVANCED_SEF_DESC="L'activation de cette option permet de modifier toutes les URL de K2, ce qui les rend plus '_QQ_'SEO friendly'_QQ_'. Cependant, cette option risque de provoquer une baisse de performance significative pour les sites de plusieurs centaines d'éléments. A utiliser avec prudence. Cette option est désactivée par défaut."

124 - K2_CATEGORY_ADDED_IN_THE_LIST="La catégorie \\'_QQ_'CATEGORY_NAME_HERE\\'_QQ_' existe déjà dans la liste !"

...

Thanks for your help

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

More
6 years 1 month ago - 6 years 1 month ago #171340 by JoomlaWorks
Replied by JoomlaWorks on topic Impossible de traduire K2 en Français
You need to replace:

'_QQ_' or \\'_QQ_' with just '

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 6 years 1 month ago by JoomlaWorks.

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

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
6 years 1 month ago - 6 years 1 month ago #171342 by Surfnature
Replied by Surfnature on topic Impossible de traduire K2 en Français
I do that on com k2.ini but maybe I have to do everywhere on all files???
34 - K2_ADDITIONAL_CHAR_REPLACEMENTS_DESC="Définissez vos propres remplacements de caractères supplémentaires. Utilisez-le pour convertir les caractères accentués en non-accentué. La substitution de caractère doivent être définis par paires séparées par des virgules. Par exemple utiliser 'ä | A' pour convertir l'accent allemand 'umlaut ' par une simple lettre alpha."
...
the debugger say that: Une chaîne vide a été transmise à « getElementById() ».
jquery.min.js:1169
TypeError: o is null[En savoir plus] core.js:11

submitform http://.../media/system/js/core.js?57d577e80bcae099948c20a2adfe6240:1
submitbutton http://.../media/system/js/core.js?57d577e80bcae099948c20a2adfe6240:1
onclick http://.../administrator/index.php?option=com_config&view=component&component=com_k2&path=&return=aHR0cDovL3M3Njk0MTE1MDMub25saW5laG9tZS5mci9hZG1pbmlzdHJhdG9yL2luZGV4LnBocD9vcHRpb249Y29tX2syJnZpZXc9aXRlbXM=:1
In debugger:
1169 ((o = r.getElementById(i[2])) && o.parentNode) {
Last edit: 6 years 1 month ago by Surfnature.

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

More
6 years 1 month ago #171345 by JoomlaWorks
Replied by JoomlaWorks on topic Impossible de traduire K2 en Français
Yes please.

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

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

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
6 years 1 month ago #171356 by Surfnature
Replied by Surfnature on topic Impossible de traduire K2 en Français
I did it on all .ini files but it still does not work, I still can not save new parameters in K2, but now I do not have any error with the debugger
I have a new thing (not important for me but...) when I am in the control panel and I want to clic on a menu (k2 for example or an other)I have not got submenu...

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

More
6 years 1 month ago #171359 by JoomlaWorks
Replied by JoomlaWorks on topic Impossible de traduire K2 en Français
This points to a system-wide JS error, which would explain WHY K2 settings threw JS errors before.

Check for any "system" plugins in Joomla that may append JS code on all backend pages. It could also be a backend module that is loaded on all pages (e.g. a cache cleaner button or something).

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

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

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
6 years 1 month ago #171449 by Surfnature
Replied by Surfnature on topic Impossible de traduire K2 en Français
I ve got just 3 things instal on the website: sp builder, acymailling and JCE.
I have not the time to do more for this website, I delete K2.
Sorry and a big thank you for your help.

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

More
6 years 1 month ago #171455 by JoomlaWorks
Replied by JoomlaWorks on topic Impossible de traduire K2 en Français
These are components. A "system plugin" would probably cause any JavaScript issues, not another component. Plugins are found in the Plugin Manager (under Extensions).

Of course it takes some patience to resolve issues.

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

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

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
6 years 1 month ago - 6 years 1 month ago #171458 by Surfnature
Replied by Surfnature on topic Impossible de traduire K2 en Français
I know these are components but these are just the only things I have changed on it.
I have patience, my customer not :-p
I will go to have a look on another website where K2 french don't work, if I have the same issue.
Last edit: 6 years 1 month ago by Surfnature.

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

More
6 years 1 month ago #171460 by JoomlaWorks
Replied by JoomlaWorks on topic Impossible de traduire K2 en Français
Try a new installation with just Joomla and K2. Like I said, it's most probably some system plugin that loaded JS causing issues. If K2 settings had any JS issues by default, trust me we'd know by now.

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

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


Powered by Kunena Forum