• Resolved jpg001

    (@jpg001)


    hi,
    i try to translate the strings for highslide effect.
    for example :

    in english :

    // Language strings
    lang : {
    cssDirection: ‘ltr’,
    loadingText : ‘Loading…’,
    loadingTitle : ‘Click to cancel’,

    in french :

    lang : {
    cssDirection: ‘ltr’,
    loadingText : ‘Chargement…’,
    loadingTitle : ‘Cliquer pour annuler’,

    i used highslide-full.js, highslide-with-gallery.js, highslide-with-html, highslide.js for the translation but i have always the strings in english when i click on a image.

    Can you help me ?

    Thank you.

    https://wordpress.org/plugins/nextgen-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @jpg001 – All of the Lightbox Effects in NextGEN Gallery are bundled standard libraries we include as a convenience. You may need to work with the Highslide library’s author to sort out your translations in this case.

    Thanks!

    – Cais.

    Thread Starter jpg001

    (@jpg001)

    i found.

    you add your translation in the nextgen_highslide_init.js file like this (here it’s for French language) :

    // French language strings
    hs.lang = {
    cssDirection: ‘ltr’,
    loadingText: ‘Chargement…’,
    loadingTitle: ‘Cliquer pour annuler’,
    focusTitle: ‘Cliquer pour amener au premier plan’,
    fullExpandTitle: ‘Afficher à la taille réelle’,
    creditsText: ‘Propulsé par <i>Highslide JS</i>’,
    creditsTitle: ‘Site Web de Highslide JS’,
    previousText: ‘Précédente’,
    nextText: ‘Suivante’,
    moveText: ‘Déplacer’,
    closeText: ‘Fermer’,
    closeTitle: ‘Fermer (esc ou Échappement)’,
    resizeTitle: ‘Redimensionner’,
    playText: ‘Lancer’,
    playTitle: ‘Lancer le diaporama (barre d\’espace)’,
    pauseText: ‘Pause’,
    pauseTitle: ‘Suspendre le diaporama (barre d\’espace)’,
    previousTitle: ‘Précédente (flèche gauche)’,
    nextTitle: ‘Suivante (flèche droite)’,
    moveTitle: ‘Déplacer’,
    fullExpandText: ‘Taille réelle’,
    number: ‘Image %1 sur %2’,
    restoreTitle: ‘Cliquer pour fermer l\’image, cliquer et faire glisser pour déplacer, utiliser les touches flèches droite et gauche pour suivant et précédent.’
    };

    Plugin Contributor photocrati

    (@photocrati)

    @jpg001 – Thanks for sharing your work-around.

    – Cais.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘translate highslide strings’ is closed to new replies.