Support » Plugins » [Plugin: Gwolle GB] How to get translation file working?

  • Hello.
    I’ve downloaded the Gwolle GB plugin for creating a guestbook. The plugin has Dutch language files in it and I would love my guestbook to be in Dutch too. Though I don’t understand how it should get this working.

    The files where I think I should change is it in the gwolle-gb.php file where I find:

    //	Textdomain for the translation
    	$textdomain = 'GWGB';
    
    	//	Load translation
    	load_plugin_textdomain($textdomain, false, dirname( plugin_basename(__FILE__) ) . '/lang');

    I don’t understand what to fill in at text domain, I’ve tried several things but can’t figure it out. Could someone help me please?
    I don’t have anything else in Dutch on my website, I use the English version.

    Thanks in advance,
    Laura
    http://lauravink.com
    http://lauravinkfotografie.nl

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have the exact smae problem. I want to use the Dutch translation too.
    I have even tried to rename the ‘GWGB-nl_NL.*’ files to ‘GWGB-en_GB.*’, bt it’s still in English.

    Gwolle is a nice, simple guestbook, but there is zero documentation on it.

    Can anybody help?

    Hi Laura / NoAlias,
    If the plugin is already set up for translation, you shouldn’t have to touch any of the plugin files.

    What is the language settings of your WordPress install?
    Take a look at wp-config.php in the root directory.

    You should find a line that looks like this:
    define ('WPLANG', 'nl_NL');

    The part that says “nl_NL” has to match your plugin’s MO file postfix (e.g. GWGP-nl_NL.mo).

    If the line says:

    define ('WPLANG', '');

    then WordPress is set to English and it won’t look for any translation file.
    I hope it helps!

    My WordPress site is installed with the default language.
    It should be nice if we can use the plugin with dutch fields without changing the default language of WordPress.
    Is this possible ?

    Just delete all the files, except GWGB-nl.mo, GWGB-nl.po and the index.html, and it will change to dutch (just tried it).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Gwolle GB] How to get translation file working?’ is closed to new replies.