• Hello,
    I’ve made translation files for french language. You can find it here :
    https://www.dropbox.com/sh/odvueg4kaaib8nu/AAAZ0gR8jWrpiMshWKqq4qjha?dl=0

    Strangly, my strings where always used in french, even when I was on the site in English. By adding the load_plugin_textdomain in the ‘init’ action, this fixes the problem :

    /**
     * Load plugin textdomain.
     */
    add_action( 'init', 'gf_wcag_load_textdomain' );
    function gf_wcag_load_textdomain() {
    	load_plugin_textdomain( 'gravity-forms-wcag-20-form-fields', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' );
    }

    It seems to be a best practice.
    Can you use this in a future update?

    Thank you!

    • This topic was modified 4 years, 11 months ago by shadowshades.
  • The topic ‘Translation not supported’ is closed to new replies.