I have created multilanguage site in Joomla. Default language is English, second language is French.
I created user login module and front end article submission for English website.
I registered a user in English site (front end) and logged in. I clicked on 'Submit an article'.
In 'Create article' page, language is displayed as 'All'. I want this to be displayed as 'English' as the user logged into English website.
If the user is logged into French website, Language should be automatically set to French.
Instead of selecting the language manually, I want to set it automatically to the language the user logged in. Because most of the time, user forgets to select the language.
I believe small piece of code will do this. Can someone please help me to achieve this?