Changing interface language without multisite

2 notes regarding your own answer: try to not access on super global variables directly, but using filter_input your code throw a notice if $_GET[‘lang’] is not set So your code can be improved: function toscho_change_language() { return ‘bn_BD’; } if ( filter_input( INPUT_GET, ‘lang’, FILTER_SANITIZE_STRING ) === ‘bn’ ) { add_filter( ‘locale’, ‘toscho_change_language’ ); … Read more

How to translate wordpress backend to another language

Just so you know, a Sinhala translation is already in progress. https://si.wordpress.org/ http://wpcentral.io/internationalization/si/ Maybe it would be a good idea to join that team. First, you need to create .po files for the Sinhala translation of WordPress. You’re going to need four of these files. They will be called si_LK.po admin-si_LK.po admin-network-si_LK.po continents-cities-si_LK.po If all … Read more

Creating a multilingual multisite

WordPress multisite can handle different top-level domains by default. Just set up a »Sub-Domain Install« multisite starting from your existent WordPress (example.no). Then, add a new site with an arbitrary subdoman (e.g. se.example.no). Right after you created the new site, got to the sites edit screen (edit site) and change the domain to what ever … Read more

Which Multi-language option for WordPress is best from an SEO and Woocommerce perspective?

If you need true localization, like a different checkout process, different themes or product descriptions, then you should use a multisite. You can activate plugins and themes per site here. The problem here is that almost all shopping plugins are not multisite compatible. You have to activate them per site, not as network plugin, or … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)