• Resolved eekayonline

    (@eekayonline)


    Hey dear plugin author (@yendif-player),

    I’ve installed this plugin and I like it! I’ve added a Dutch translation for it (after working on a website until like 1:30 AM :P)

    Could you please check the translation and add it to your plugin?
    It would really help me out!

    I’ve translated the whole she-bang manually and checked it twice so it should be really good to go!

    if updating the plugin to contain the translation, could you please indicate how I can use the translation? The instructions for plugin translation files on the wordpress site don’t seem to work out.. it keeps displaying english tags ??

    cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Yendif Player

    (@yendif-player)

    I’m very grateful for your contribution in translating our plugin into Dutch ??

    Our next version will include your translation files. Our current version has a minor bug that makes the plugin not work in other languages. Kindly follow the steps below as the fix,

    1. Add your PO, MO files inside “{root}/wp-content/plugins/another-events-calendar/languages/” folder.

    2. Open “{root}/wp-content/plugins/another-events-calendar/includes/class-aec.php”

    3. Search for,
    $this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' );

    4. Replace it as,
    $this->loader->add_action( 'init', $plugin_i18n, 'load_plugin_textdomain' );

    5. Then, open “{root}/wp-content/plugins/another-events-calendar/includes/class-aec-i18n.php”

    6. Locate the function ‘load_plugin_textdomain’

    7. Replace the whole function with the following code,

    public function load_plugin_textdomain() {
    
        load_plugin_textdomain(
            'another-events-calendar',
    	false,
    	dirname( dirname( plugin_basename( __FILE__ ) ) ).'/languages/'
        );
    
    }

    8. That’s it.

    Save the changes and try now.

    Hope, this solved your issue.

    • This reply was modified 8 years, 3 months ago by Yendif Player.
    Thread Starter eekayonline

    (@eekayonline)

    sorry for the late reply. it helped me out, thanks!

    • This reply was modified 8 years, 1 month ago by eekayonline.
    jcmuts

    (@jcmuts)

    Hi Guys, that is a whole lot of developing for me ?? Is it okay for you to send my a new version with the Dutch language added we did?

    Plugin Author Yendif Player

    (@yendif-player)

    Issue in our PHP code was solved in our latest version. So, you just need to add the DUTCH translation files under “{root}/wp-content/plugins/another-events-calendar/languages/” to get this work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Added Dutch translation’ is closed to new replies.