• Resolved Kniebremser

    (@kniebremser)


    Hallo!
    Seit Version 2.xx habe ich Probleme mit der deutsche Übersetzung.
    Ich habe mir eine aktuelle .po-Datei erstellt.
    Diese in den Ordner nextgen-gallery > lang getan.
    Es werden nicht alle Übersetzungen angezeigt.
    Die Function dazu ist in nextgen-gallery > nggallery.php
    Line 239:
    // Load text domain
    load_plugin_textdomain(
    NEXTGEN_GALLERY_I8N_DOMAIN,
    false,
    $this->directory_path(‘lang’)
    );

    Was mich total irritiert. In dem Ordner nextgen-gallery > products >
    photocrati_nextgen > modules > ngglegacy > lang gibt es eine alte deutsche Übersetzung von der Version 1.xxxx . Diese Übersetzung wird nicht aufgerufen.
    Die Function dazu ist in nextgen-gallery > products >
    photocrati_nextgen > modules > ngglegacy > nggallery.php
    Line65:
    // Load the language file
    $this->load_textdomain();
    Line 277:
    function load_textdomain() {
    load_plugin_textdomain(‘nggallery’, false, NGGFOLDER . ‘/lang’);
    }

    Kann das sein, das sich das beisst ???

    In der Gleichen Datei befindet sich noch veralteter Code von Version 1.xxxx
    Line 67 bis 69

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

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

    (@photocrati)

    @kniebremser – The current version of NextGEN Gallery does not yet have its i18n implementation included.

    – Cais.

    Thread Starter Kniebremser

    (@kniebremser)

    Hello!
    That’s not my concern. In the file products > photocrati_nextgen > modules > ngglegacy > nggallery.php is
    Line65:
    // Load the language file
    $this->load_textdomain();
    Line 277:
    function load_textdomain() {
    load_plugin_textdomain(‘nggallery’, false, NGGFOLDER . ‘/lang’);
    }
    and in the folder “lang” is a German translation which is not called.

    Plugin Contributor photocrati

    (@photocrati)

    @kniebremser – I have seen countless German language sites with (partial) translations that I would suspect are having that code implemented, perhaps I am not understanding the issue you are trying to describe?

    Are you saying the German language translation file is not being read on your site? Is it formatted correctly?

    – Cais.

    Thread Starter Kniebremser

    (@kniebremser)

    Hello!
    Sorry my english is not perfect.
    I have done the following:
    – Download Translation Pack
    – Unzipped folder in nextgen-gallery> lang
    – With poedit> Update from source code
    – Translated the new source text and stored.
    – No error message at poedit
    – Translations are partially displayed

    When troubleshooting, I’m on the two views of load_plugin_textdomain encountered and the folder “lang” with the old unused German translation.

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

The topic ‘translatation errors since version 2.xxx’ is closed to new replies.