Forums

Language User Access Manager - NextGEN Gallery Extension (2 posts)

  1. Botton
    Member
    Posted 10 months ago #

    I made a Dutch language file for the Language User Access Manager - NextGEN Gallery Extension, but I don't get it working in Dutch. I'm not that experienced with PHP but I think that one of the problems is the variable 'load_plugin_textdomain'. Should this value not be the same as the text value behind the comma in e.g. the 'language.define.php' (this was 'user-access-manager-nextgen-gallery-extension').

    In this file the reference is 'uam-ngg'. I changed the value of 'load_plugin_textdomain' it in 'user-access-manager-nextgen-gallery-extension.php' but it still doesn't work.

    Can someone give me some help or advice?

  2. Botton
    Member
    Posted 10 months ago #

    I finally found the solution. I changed the line in the "user-access-manager-nextgen-gallery-extension.php" file to

    load_plugin_textdomain( 'uam-ngg', false, 'user-access-manager-nextgen-gallery-extension/lang');

    And now it's working.

Reply

You must log in to post.

About this Topic