Keyword

Impossible de traduire K2 en Français

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
3 months 1 hour ago #171288 by Surfnature
Surfnature created the topic: Impossible de traduire K2 en Français
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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 months 1 hour ago #171289 by Fotis
Fotis replied the 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.


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.

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
2 months 4 weeks ago - 2 months 4 weeks ago #171293 by Surfnature
Surfnature replied the 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: 2 months 4 weeks ago by Surfnature.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 months 4 weeks ago #171300 by Fotis
Fotis replied the 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.


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.

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
2 months 4 weeks ago #171306 by Surfnature
Surfnature replied the 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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 months 4 weeks ago #171308 by Fotis
Fotis replied the 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?


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.

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
2 months 3 weeks ago #171338 by Surfnature
Surfnature replied the 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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 months 3 weeks ago - 2 months 3 weeks ago #171340 by Fotis
Fotis replied the topic: Impossible de traduire K2 en Français
You need to replace:

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


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
Last edit: 2 months 3 weeks ago by Fotis.

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

  • Surfnature
  • Surfnature's Avatar Topic Author
  • Offline
  • New Member
More
2 months 3 weeks ago - 2 months 3 weeks ago #171342 by Surfnature
Surfnature replied the 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: 2 months 3 weeks ago by Surfnature.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 months 3 weeks ago #171345 by Fotis
Fotis replied the topic: Impossible de traduire K2 en Français
Yes please.


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.

Moderators: william whiteJiliko.net

Powered by Kunena Forum