WordPress multi language works in local host but not in the live site?

My website is working fine now, and the solutions i have found is as follows:

The Cause

Why did this happen in the first place?

This error is most likely due to the fact that you’ve changed your WordPress permalink structure. The settings for your permanlink structure are found in your Admin panel, under Settings » Permalinks. Basically, it lets you choose how the URLs of your WordPress site will look.

How to Fix the Error – Don’t worry, it’s super easy…and quick

Get into your website’s FTP space, and look for the .htaccess file
Highlight the .htaccess file in your FTP program, and open its CHMOD settings. It’s probably set to 644. Change it to 666.
Go back into your WordPress site’s admin section, and navigate to Settings » Permalinks.
Edit the link structure to whatever you originally wanted, and then save it. You should no longer see a “grayed out” .htaccess box on this page, saying that the file is not writable.
Visit any page of your site, refresh, and confirm that the error no longer occurs.
Finally, as a security measure, go back to your FTP space and change your .htaccess file from 666 back to 644 (for security purposes) since you probably will never have to edit it through the WordPress admin panel ever again.

Refernce to solution topic