How to load rtl.css file without changing lanuage to persian in wordpress?

# if you want to enqueue your style in you theme, rtl or else function theme_enqueue_scripts() { # enqueue style in your theme wp_register_style( ‘rtl’, get_template_directory_uri() . ‘/css/rtl.css’, array(), ‘1.0.0’ ); wp_enqueue_style( ‘rtl’ ); } add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_scripts’ ); # if you need enqueue this, just if theme is rtl , copy this function function … Read more

Multilanguage website on two different domains

Method 1. You can use .pot file to store translation and use wordpress default translator functions for all of your strings such as __e() Method 2: It is better to use any translator plugin since it will do all the necessory work for you. Few of them are here https://wpml.org/ https://wordpress.org/plugins/polylang/