Answers.Body: <p>To my knowledge, CiviCRM doesn't support automatic inheritance of the language in Joomla, yet.</p>
  <p>But your idea to add lcMessages in the url was good. I was able to make it work using lcMessages=en_CA. It seems that you have set up your site in en_CA locale, not the default en_US.</p>
  <p>The full url should be : <a href="https://www.voile.qc.ca/en/?option=com_civicrm&amp;task=civicrm/profile&amp;Itemid=609&amp;force=1&amp;gid=14&amp;lcMessages=en_CA" rel="nofollow noreferrer">https://www.voile.qc.ca/en/?option=com_civicrm&amp;task=civicrm/profile&amp;Itemid=609&amp;force=1&amp;gid=14&amp;lcMessages=en_CA</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-24T13:22:20.430Z
Answers.LastActivityDate: 2020-08-24T13:22:20.430Z
Answers.UserDisplayName: samuelsov
Body: <p>I currently have CiviCRM 5.25.0 and Joomla 3.9.19.</p>
  <p>Joomla is bilingual Fr / En and users can switch from one language to the other no problem.</p>
  <p>CiviCRM is set up bilingual with Fr as the default language, but all fields are defined in both languages (Fr_CA &amp; En_US).</p>
  <p>I have set the &quot;Inherit CMS language” option to YES.</p>
  <p>I set up in Joomla two URL Menus (one in Fr and one in EN) to list a contact group.</p>
  <p>In the French site, I see the profiles fields in French, as it should. But when I switch to the English in the frontend, the menus are in English, as expected, but the profile remains in French.</p>
  <p>If I switch the CiviCRM default language to En, then the English side is OK (the users see the profile fields in English) but  French users also see the profile in En even though the Menus are nos in Fr.</p>
  <p>It thus seems that the profile follows the default CiviCRM language and not the CMS language.</p>
  <p>I have tried to force the language by adding “&amp;lcMessages=en_US” at the end of the English Menu URL - as I found in some forums - to no avail. Just in case, I have also tried en_UK.</p>
  <p>Any idea on how to force the profile to follow the user’s language preference?</p>
  <p>Just in case it is needed, here is the English page: <a href="https://www.voile.qc.ca/en/?option=com_civicrm&amp;task=civicrm/profile&amp;Itemid=609&amp;force=1&amp;gid=14&amp;lcMessages=en_US" rel="nofollow noreferrer">https://www.voile.qc.ca/en/?option=com_civicrm&amp;task=civicrm/profile&amp;Itemid=609&amp;force=1&amp;gid=14&amp;lcMessages=en_US</a>
  Thanks in advance for your help!</p>
  
Tags: <profile><joomla><language>
Title: Have CiviCRM follow CMS language with Joomla
ThreadText: # Have CiviCRM follow CMS language with Joomla
  
  (Asked by: username_0 on 2020-06-29)
  
  I currently have CiviCRM 5.25.0 and Joomla 3.9.19.
  
  Joomla is bilingual Fr / En and users can switch from one language to the other no problem.
  
  CiviCRM is set up bilingual with Fr as the default language, but all fields are defined in both languages (Fr\_CA & En\_US).
  
  I have set the "Inherit CMS language” option to YES.
  
  I set up in Joomla two URL Menus (one in Fr and one in EN) to list a contact group.
  
  In the French site, I see the profiles fields in French, as it should. But when I switch to the English in the frontend, the menus are in English, as expected, but the profile remains in French.
  
  If I switch the CiviCRM default language to En, then the English side is OK (the users see the profile fields in English) but French users also see the profile in En even though the Menus are nos in Fr.
  
  It thus seems that the profile follows the default CiviCRM language and not the CMS language.
  
  I have tried to force the language by adding “&lcMessages=en\_US” at the end of the English Menu URL - as I found in some forums - to no avail. Just in case, I have also tried en\_UK.
  
  Any idea on how to force the profile to follow the user’s language preference?
  
  Just in case it is needed, here is the English page: <https://www.voile.qc.ca/en/?option=com_civicrm&task=civicrm/profile&Itemid=609&force=1&gid=14&lcMessages=en_US>
  Thanks in advance for your help!
  
  **Tags:** profile, joomla, language
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-08-24. Score: 0
  
  To my knowledge, CiviCRM doesn't support automatic inheritance of the language in Joomla, yet.
  
  But your idea to add lcMessages in the url was good. I was able to make it work using lcMessages=en\_CA. It seems that you have set up your site in en\_CA locale, not the default en\_US.
  
  The full url should be : <https://www.voile.qc.ca/en/?option=com_civicrm&task=civicrm/profile&Itemid=609&force=1&gid=14&lcMessages=en_CA>
  
  
  ---
  
  