Manually Setting Locale for Sprout Invoices
-
it was necessary to manually change the locale. Dan Cameron gave an example on githab:
<?php /** * Placed in the functions.php file of your theme this filter will override * the local used by Sprout Invoices (which is the local WordPress is configured to use). * * nl_NL is the local in this example, change it to your local. */ function set_sprout_invoices_locale() { return 'nl_NL'; // change nl_NL and leave the single quotes. } add_filter( 'sa_set_locale', 'set_sprout_invoices_locale' );
Sorry, but this code for some reason does not change the locale.
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘Manually Setting Locale for Sprout Invoices’ is closed to new replies.