Looking in the API V3, I can find the default language in Setting but not how to set it to fr_FR.

I've tried commands like cv api Setting.create lcMessages="FR" but they return nothing or errors.

Is that possible?

1 Answer 1


It should be

cv api Setting.create lcMessages="fr_FR" 

Make sure you use the correct language code.

Note: Sometimes you need to clear CiviCRM cache to apply changes.

  • with the french translations files uploaded it's even better! ;-) thanks Pradeep Commented Mar 14, 2022 at 11:56
  • did that work ? Commented Mar 14, 2022 at 12:07
  • yes, thanks I had used previously fr_FR and flushed caches but I only forgot to upload localization files... that's why I was wondering how it was supposed to work. :-) Commented Mar 14, 2022 at 12:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.