Viewing 1 replies (of 1 total)
  • Thread Starter Hrohh

    (@hrohh)

    Now I filter via this code and I think it is better way to do it.

    add_filter('load_textdomain_mofile', 'custom_load_textdomain_mofile', 999, 2);
    function custom_load_textdomain_mofile( $mofile, $domain){
        if ($domain == 'acf')
            $mofile = 'mypath/wordpress/wp-content/languages/plugins/acf-cs_CZ.mo';
        return $mofile;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Better language’ is closed to new replies.