How to set a custom title per language?
You have to use a static page in this case: Settings -> General -> Fron Page Display: A static Page
You have to use a static page in this case: Settings -> General -> Fron Page Display: A static Page
Use date_i18n( $format, $i ); echo date_i18n(‘j F Y’, strtotime( $event_date[0] ) ) . ‘ ‘ . date_i18n(‘j F Y’, strtotime( $event_from_time[0] ) ) . ‘ do ‘ . date_i18n(‘j F Y’, strtotime( $event_to_time[0] ) ); See also: How to integrate get_post_time with date_i18n function?
To translate you need few things first in place. Create a directory called languages inside wp-content . Now define your country and locale in wp-config.php file. For example as you wish to translate into italian. You should add these lines. define (‘WPLANG’, ‘it_IT’); Now as you have read on forums you need to put the … Read more
I used to use WP Native Dashboard. But I just tested it and it’s not working. So I tested a plugin for you and I found one that really works, it’s English WordPress Admin, after you activate it you will see this, you click on Switch to English and it will update your dashboard Language, … Read more
This is untested, but I think you can just define wp_handle_upload_error in your functions.php file and return custom error messages. If you look at where that function is defined in that file, if ( ! function_exists( ‘wp_handle_upload_error’ ) ) { function wp_handle_upload_error( &$file, $message ) { return array( ‘error’=>$message ); } } You can see … Read more
Prevent wordpress from updating language files
Is there any workaround to a core update still showing after core update if language set to anything other than US English
This is pretty common issue with translations. If you have downloaded po/mo woocommerce translation files, you probably put them now in wp-content/woocommerce/languages folder. Please if this is the case try to move them to global languages folder in wp-content/languages/plugins. Also note that if you are moving them to global folder they should look something like … Read more
How to reload wordpress textdomains at runtime
You can filter ‘gettext’. Sample code, not tested: add_filter( ‘gettext’, ‘wpse_65085_change_error_messages’, 10, 3 ); function wpse_65085_change_error_messages( $translated, $text, domain ) { if ( ‘default’ !== $domain ) { return $translated; } switch( $text ) { case ‘Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case … Read more