There is a plugin which comes handy in here. $blog = MslsBlogCollection::instance()->get_current_blog() Yes, you should use the WordPress API function get_locale() but you could also use code like that use lloc\Msls\MslsBlogCollection Is there a function I can call to get the language of the page the user is currently viewing? It adds a new tab to the „Add Media“ window, allowing you to access the media files in the other sites in your multisite. You could try the plugin Network Shared Media. ![]() I don’t want to upload the same media files for every site. I want to have the languages in an HTML select. How can I add the Multisite Language Switcher to the nav-menu of my blog? You might check out this jQuery plugin or this approach with a theme I’m not sure if the plugin should do that. The Multisite Language Switcher does not redirect the users automatically. How can I automatically redirect users based on the browser language? But yes, if you want to use the Multisite Language Switcher. You can choose the language of the dashboard in the settings of your user profile. But I’d like the interface to stay in English. You might read first WordPress in your language. Review the Multisite Language Switcher Website for more information.įAQ I have no language options in the General settings. You must also select the current language of your.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |